Class Plugin.Engine.Target.InMemory

java.lang.Object
net.bytebuddy.build.Plugin.Engine.Target.InMemory
All Implemented Interfaces:
Closeable, AutoCloseable, Plugin.Engine.Target, Plugin.Engine.Target.Sink
Enclosing interface:
Plugin.Engine.Target

@Enhance public static class Plugin.Engine.Target.InMemory extends Object implements Plugin.Engine.Target, Plugin.Engine.Target.Sink
A sink that stores all elements in a memory map.
  • Field Details

    • storage

      private final Map<String,byte[]> storage
      The map for storing all elements being received.
  • Constructor Details

    • InMemory

      public InMemory()
      Creates a new in-memory storage.
    • InMemory

      public InMemory(Map<String,byte[]> storage)
      Creates a new in-memory storage.
      Parameters:
      storage - The map for storing all elements being received.
  • Method Details