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
public static class TimerDecorator.Heaplet extends DecoratorHeaplet
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 Constructor Description Heaplet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decorator
create()
Called to request the heaplet create an object.protected String
getType()
Returns the type of the IG object.-
Methods inherited from class org.forgerock.openig.decoration.helper.DecoratorHeaplet
create, destroy, meterRegistryHolder, start
-
-
-
-
Method Detail
-
getType
protected String 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
public Decorator create() throws HeapException
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.
-
-