public final class CommandInitializer extends Object implements ModuleCommandInitializer
Constructor and Description |
---|
CommandInitializer() |
Modifier and Type | Method and Description |
---|---|
Cache<?,?> |
getCache() |
QueryInterceptor |
getQueryInterceptor() |
org.hibernate.search.engine.spi.SearchFactoryImplementor |
getSearchFactory() |
void |
initializeReplicableCommand(ReplicableCommand c,
boolean isRemote)
Initializes a command constructed using
ModuleCommandFactory.fromStream(byte, Object[]) with
necessary named-cache-specific components. |
void |
setCache(Cache<?,?> cache) |
public void setCache(Cache<?,?> cache)
public void initializeReplicableCommand(ReplicableCommand c, boolean isRemote)
ModuleCommandInitializer
ModuleCommandFactory.fromStream(byte, Object[])
with
necessary named-cache-specific components.initializeReplicableCommand
in interface ModuleCommandInitializer
c
- command to initializeisRemote
- true if the source is a remote node in the cluster, false otherwise.public final Cache<?,?> getCache()
public final org.hibernate.search.engine.spi.SearchFactoryImplementor getSearchFactory()
public final QueryInterceptor getQueryInterceptor()
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.