Class TimerDecorator.Heaplet
java.lang.Object
org.forgerock.openig.decoration.helper.DecoratorHeaplet
org.forgerock.openig.decoration.timer.TimerDecorator.Heaplet
- All Implemented Interfaces:
Heaplet
- Enclosing class:
- TimerDecorator
Creates and initializes a TimerDecorator in a heap environment.
-
Field Summary
Fields inherited from class org.forgerock.openig.decoration.helper.DecoratorHeaplet
config, heap, name, object
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.forgerock.openig.decoration.helper.DecoratorHeaplet
create, destroy, meterRegistryHolder, start
-
Constructor Details
-
Heaplet
public Heaplet()
-
-
Method Details
-
getType
Description copied from class:DecoratorHeaplet
Returns the type of the IG object.- Overrides:
getType
in classDecoratorHeaplet
- Returns:
- the type of the IG object
-
create
Description copied from class:DecoratorHeaplet
Called to request the heaplet create an object. Called byDecoratorHeaplet.create(Name, JsonValue, Heap)
after initializing the protected field members. Implementations should parse configuration but not acquire resources, start threads, or log any initialization messages. These tasks should be performed by theDecoratorHeaplet.start()
method.- Specified by:
create
in classDecoratorHeaplet
- Returns:
- The created object.
- Throws:
HeapException
- if an exception occurred during creation of the heap object or any of its dependencies.
-