Package org.infinispan.xsite
Class BaseBackupReceiver
- java.lang.Object
-
- org.infinispan.xsite.BaseBackupReceiver
-
- All Implemented Interfaces:
BackupReceiver
- Direct Known Subclasses:
ClusteredCacheBackupReceiver
,LocalCacheBackupReceiver
public abstract class BaseBackupReceiver extends java.lang.Object implements BackupReceiver
Common implementation logic forBackupReceiver
- Since:
- 7.1
- Author:
- Mircea Markus, Pedro Ruivo
-
-
Field Summary
Fields Modifier and Type Field Description protected AdvancedCache<java.lang.Object,java.lang.Object>
cache
protected ByteString
cacheName
protected TimeService
timeService
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cache
getCache()
java.util.concurrent.CompletionStage<java.lang.Void>
handleRemoteCommand(org.infinispan.commands.VisitableCommand command, boolean preserveOrder)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.xsite.BackupReceiver
handleStateTransferControl, handleStateTransferState
-
-
-
-
Field Detail
-
cache
protected final AdvancedCache<java.lang.Object,java.lang.Object> cache
-
cacheName
protected final ByteString cacheName
-
timeService
protected final TimeService timeService
-
-
Method Detail
-
getCache
public final Cache getCache()
- Specified by:
getCache
in interfaceBackupReceiver
-
handleRemoteCommand
public final java.util.concurrent.CompletionStage<java.lang.Void> handleRemoteCommand(org.infinispan.commands.VisitableCommand command, boolean preserveOrder)
- Specified by:
handleRemoteCommand
in interfaceBackupReceiver
-
-