Class ScriptableThrottlingPolicy.Heaplet
- java.lang.Object
-
- org.forgerock.openig.heap.GenericHeaplet
-
- org.forgerock.openig.script.AbstractScriptableHeapObject.AbstractScriptableHeaplet<ThrottlingRate>
-
- org.forgerock.openig.filter.throttling.ScriptableThrottlingPolicy.Heaplet
-
- All Implemented Interfaces:
Heaplet
- Enclosing class:
- ScriptableThrottlingPolicy
public static class ScriptableThrottlingPolicy.Heaplet extends AbstractScriptableHeapObject.AbstractScriptableHeaplet<ThrottlingRate>
Creates and initializes a scriptable object in a heap environment.
-
-
Constructor Summary
Constructors Constructor Description Heaplet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptableThrottlingPolicy
newInstance(Script script, Heap heap)
Creates the new heap object instance using the provided script.-
Methods inherited from class org.forgerock.openig.script.AbstractScriptableHeapObject.AbstractScriptableHeaplet
create, destroy
-
Methods inherited from class org.forgerock.openig.heap.GenericHeaplet
create, endpointRegistry, evaluatedWithHeapProperties, expression, getConfig, getHeap, getSecretService, getSecretsProvider, getType, initialBindings, meterRegistryHolder, start
-
-
-
-
Method Detail
-
newInstance
public ScriptableThrottlingPolicy newInstance(Script script, Heap heap) throws HeapException
Description copied from class:AbstractScriptableHeapObject.AbstractScriptableHeaplet
Creates the new heap object instance using the provided script.- Specified by:
newInstance
in classAbstractScriptableHeapObject.AbstractScriptableHeaplet<ThrottlingRate>
- Parameters:
script
- The compiled script.heap
- The heap to look for bindings- Returns:
- The new heap object instance using the provided script.
- Throws:
HeapException
- if an exception occurred during creation of the heap object or any of its dependencies.
-
-