Package org.apache.storm.topology
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
A request for a shared memory region on heap.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.storm.generated.SharedMemory
SharedMemory._Fields
-
Field Summary
Fields inherited from class org.apache.storm.generated.SharedMemory
metaDataMap
-
Constructor Summary
ConstructorDescriptionSharedOnHeap
(double amount, String name) Create a new request for a shared memory region on heap. -
Method Summary
Methods inherited from class org.apache.storm.generated.SharedMemory
clear, compareTo, deepCopy, equals, equals, fieldForId, get_name, get_off_heap_node, get_off_heap_worker, get_on_heap, getFieldValue, hashCode, is_set_name, is_set_off_heap_node, is_set_off_heap_worker, is_set_on_heap, isSet, read, set_name, set_name_isSet, set_off_heap_node, set_off_heap_node_isSet, set_off_heap_worker, set_off_heap_worker_isSet, set_on_heap, set_on_heap_isSet, setFieldValue, toString, unset_name, unset_off_heap_node, unset_off_heap_worker, unset_on_heap, validate, write
-
Constructor Details
-
SharedOnHeap
Create a new request for a shared memory region on heap.- Parameters:
amount
- the number of MB to share on heapname
- the name of the shared region (for tracking purposes)
-