public class ContextControllerHashFactory extends ContextControllerFactoryBase implements ContextControllerFactory
Modifier and Type | Class and Description |
---|---|
static class |
ContextControllerHashFactory.HashFunctionEnum |
Constructor and Description |
---|
ContextControllerHashFactory(ContextControllerFactoryContext factoryContext,
ContextDetailHash hashedSpec,
java.util.List<FilterSpecCompiled> filtersSpecsNestedContexts,
ContextStateCache stateCache) |
getFactoryContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFactoryContext
public ContextControllerHashFactory(ContextControllerFactoryContext factoryContext, ContextDetailHash hashedSpec, java.util.List<FilterSpecCompiled> filtersSpecsNestedContexts, ContextStateCache stateCache)
public boolean hasFiltersSpecsNestedContexts()
public ContextStateCache getStateCache()
getStateCache
in interface ContextControllerFactory
public ContextStatePathValueBinding getBinding()
public void validateFactory() throws ExprValidationException
validateFactory
in interface ContextControllerFactory
ExprValidationException
public ContextControllerStatementCtxCache validateStatement(ContextControllerStatementBase statement) throws ExprValidationException
validateStatement
in interface ContextControllerFactory
ExprValidationException
public void populateFilterAddendums(java.util.IdentityHashMap<FilterSpecCompiled,FilterValueSetParam[]> filterAddendum, ContextControllerStatementDesc statement, java.lang.Object key, int contextId)
populateFilterAddendums
in interface ContextControllerFactory
public void populateContextInternalFilterAddendums(ContextInternalFilterAddendum filterAddendum, java.lang.Object key)
public FilterSpecLookupable getFilterLookupable(EventType eventType)
getFilterLookupable
in interface ContextControllerFactory
public boolean isSingleInstanceContext()
isSingleInstanceContext
in interface ContextControllerFactory
public StatementAIResourceRegistryFactory getStatementAIResourceRegistryFactory()
getStatementAIResourceRegistryFactory
in interface ContextControllerFactory
public java.util.List<ContextDetailPartitionItem> getContextDetailPartitionItems()
getContextDetailPartitionItems
in interface ContextControllerFactory
public ContextDetail getContextDetail()
getContextDetail
in interface ContextControllerFactory
public ContextDetailHash getHashedSpec()
public java.util.Map<java.lang.String,java.lang.Object> getContextBuiltinProps()
getContextBuiltinProps
in interface ContextControllerFactory
public ContextController createNoCallback(int pathId, ContextControllerLifecycleCallback callback)
createNoCallback
in interface ContextControllerFactory
public ContextPartitionIdentifier keyPayloadToIdentifier(java.lang.Object payload)
keyPayloadToIdentifier
in interface ContextControllerFactory
public static ContextDetailHashItem findHashItemSpec(ContextDetailHash hashSpec, FilterSpecCompiled filterSpec)