org.infinispan.interceptors.ClusteringInterceptor Maven / Gradle / Ivy
package org.infinispan.interceptors;
import org.infinispan.commands.CommandsFactory;
import org.infinispan.container.DataContainer;
import org.infinispan.container.EntryFactory;
import org.infinispan.factories.annotations.Inject;
import org.infinispan.interceptors.base.BaseRpcInterceptor;
import org.infinispan.statetransfer.StateTransferManager;
import org.infinispan.util.concurrent.locks.LockManager;
/**
* Base class for replication and distribution interceptors.
*
* @author [email protected]
* @deprecated Since 8.2, no longer public API.
*/
@Deprecated
public abstract class ClusteringInterceptor extends BaseRpcInterceptor {
protected CommandsFactory cf;
protected EntryFactory entryFactory;
protected LockManager lockManager;
protected DataContainer dataContainer;
protected StateTransferManager stateTransferManager;
@Inject
public void injectDependencies(CommandsFactory cf, EntryFactory entryFactory,
LockManager lockManager, DataContainer dataContainer,
StateTransferManager stateTransferManager) {
this.cf = cf;
this.entryFactory = entryFactory;
this.lockManager = lockManager;
this.dataContainer = dataContainer;
this.stateTransferManager = stateTransferManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy