org.infinispan.query.backend
Class LocalQueryInterceptor
java.lang.Object
org.infinispan.commands.AbstractVisitor
org.infinispan.interceptors.base.CommandInterceptor
org.infinispan.query.backend.QueryInterceptor
org.infinispan.query.backend.LocalQueryInterceptor
- All Implemented Interfaces:
- Visitor
public class LocalQueryInterceptor
- extends QueryInterceptor
This class is an interceptor that will index data only if it has come from a local source.
Currently, this is a property that is determined by setting "infinispan.query.indexLocalOnly" as a System property to
"true".
- Since:
- 4.0
- Author:
- Navin Surtani
Methods inherited from class org.infinispan.commands.AbstractVisitor |
visitClearCommand, visitCollection, visitCommitCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitRollbackCommand, visitSizeCommand, visitValuesCommand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalQueryInterceptor
public LocalQueryInterceptor()
init
public void init(org.hibernate.search.engine.SearchFactoryImplementor searchFactory,
TransactionManager transactionManager)
- Overrides:
init
in class QueryInterceptor
visitPutKeyValueCommand
public Object visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
throws Throwable
- Specified by:
visitPutKeyValueCommand
in interface Visitor
- Overrides:
visitPutKeyValueCommand
in class QueryInterceptor
- Throws:
Throwable
visitRemoveCommand
public Object visitRemoveCommand(InvocationContext ctx,
RemoveCommand command)
throws Throwable
- Specified by:
visitRemoveCommand
in interface Visitor
- Overrides:
visitRemoveCommand
in class QueryInterceptor
- Throws:
Throwable
visitReplaceCommand
public Object visitReplaceCommand(InvocationContext ctx,
ReplaceCommand command)
throws Throwable
- Specified by:
visitReplaceCommand
in interface Visitor
- Overrides:
visitReplaceCommand
in class QueryInterceptor
- Throws:
Throwable
visitPutMapCommand
public Object visitPutMapCommand(InvocationContext ctx,
PutMapCommand command)
throws Throwable
- Specified by:
visitPutMapCommand
in interface Visitor
- Overrides:
visitPutMapCommand
in class QueryInterceptor
- Throws:
Throwable
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.