Class SharedOnHeap

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

public class SharedOnHeap extends SharedMemory
A request for a shared memory region on heap.
See Also:
  • Constructor Details

    • SharedOnHeap

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