Package es.bsc.dataclay.heap
Class ClientHeapManager
- java.lang.Object
-
- java.util.TimerTask
-
- es.bsc.dataclay.heap.HeapManager
-
- es.bsc.dataclay.heap.ClientHeapManager
-
- All Implemented Interfaces:
Runnable
public class ClientHeapManager extends HeapManager
This class is responsible to manage memory Heap at client side.
-
-
Field Summary
-
Fields inherited from class es.bsc.dataclay.heap.HeapManager
DEBUG_ENABLED, inmemoryObjects, logger, runtime
-
-
Constructor Summary
Constructors Constructor Description ClientHeapManager(DataClayRuntime theruntime)
Contructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToHeap(DataClayObject dcObject)
Add object into Heap.void
flushAll()
Flush all objects in Heap.void
run()
-
Methods inherited from class es.bsc.dataclay.heap.HeapManager
addToHeapMap, cleanReferencesAndLockers, existsObject, getObject, heapSize, numLoadedObjs, removeFromHeap, updateObjectID
-
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
-
-
-
Constructor Detail
-
ClientHeapManager
public ClientHeapManager(DataClayRuntime theruntime)
Contructor.- Parameters:
theruntime
- The runtime.
-
-
Method Detail
-
run
public final void run()
-
flushAll
public void flushAll()
Description copied from class:HeapManager
Flush all objects in Heap.- Specified by:
flushAll
in classHeapManager
-
addToHeap
public void addToHeap(DataClayObject dcObject)
Description copied from class:HeapManager
Add object into Heap. This function can be different in EE or client. Therefore, it is abstract.- Specified by:
addToHeap
in classHeapManager
- Parameters:
dcObject
- the object to add
-
-