Class XSiteStatePushRequest
java.lang.Object
org.infinispan.xsite.commands.remote.XSiteCacheRequest<Void>
org.infinispan.xsite.commands.remote.XSiteStatePushRequest
- All Implemented Interfaces:
TracedCommand, XSiteRequest<Void>
Wraps the state to be sent to another site.
It used when the backup strategy is set to BackupConfiguration.BackupStrategy.SYNC.
- Since:
- 15.0
-
Field Summary
Fields inherited from class XSiteCacheRequest
cacheName -
Constructor Summary
ConstructorsConstructorDescriptionXSiteStatePushRequest(ByteString cacheName, List<XSiteState> chunk, long timeoutMillis) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletionStage<Void> invokeInLocalCache(String origin, ComponentRegistry registry) Methods inherited from class XSiteCacheRequest
getCacheName, invokeInLocalSiteMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Constructor Details
-
XSiteStatePushRequest
@ProtoFactory public XSiteStatePushRequest(ByteString cacheName, List<XSiteState> chunk, long timeoutMillis)
-
-
Method Details
-
invokeInLocalCache
- Specified by:
invokeInLocalCachein classXSiteCacheRequest<Void>
-