Class SharedOffHeapWithinWorker

java.lang.Object
org.apache.storm.generated.SharedMemory
org.apache.storm.topology.SharedOffHeapWithinWorker
All Implemented Interfaces:
Serializable, Cloneable, Comparable<SharedMemory>, org.apache.storm.thrift.TBase<SharedMemory,SharedMemory._Fields>, org.apache.storm.thrift.TSerializable

public class SharedOffHeapWithinWorker extends SharedMemory
A request for a shared memory region off heap, but only within a worker.
See Also:
  • Constructor Details

    • SharedOffHeapWithinWorker

      public SharedOffHeapWithinWorker(double amount, String name)
      Create a new request for a shared memory region off heap within a worker.
      Parameters:
      amount - the number of MB to share
      name - the name of the shared region (for tracking purposes)