Package org.apache.storm.topology
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:
- Serialized Form
-
-
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
Constructors Constructor Description SharedOffHeapWithinWorker(double amount, String name)
Create a new request for a shared memory region off heap within a worker.
-
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 Detail
-
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 sharename
- the name of the shared region (for tracking purposes)
-
-