Class XSiteCacheRequest<T>
java.lang.Object
org.infinispan.xsite.commands.remote.XSiteCacheRequest<T>
- All Implemented Interfaces:
TracedCommand,XSiteRequest<T>
- Direct Known Subclasses:
IracTombstoneCheckRequest,IracUpdateKeyRequest,XSiteStatePushRequest,XSiteStateTransferControlRequest
A
XSiteRequest which is associated to a cache.
The subclass requests have access to the cache's ComponentRegistry via invokeInLocalCache(String, ComponentRegistry).
- Since:
- 15.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract CompletionStage<T> invokeInLocalCache(String origin, ComponentRegistry registry) final CompletionStage<T> invokeInLocalSite(String origin, GlobalComponentRegistry registry) This method is invoked by the receiver node.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commands.TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Field Details
-
cacheName
-
-
Constructor Details
-
XSiteCacheRequest
-
-
Method Details
-
getCacheName
-
invokeInLocalSite
Description copied from interface:XSiteRequestThis method is invoked by the receiver node.The
GlobalComponentRegistrygives access to every component managed by this cache manager.- Specified by:
invokeInLocalSitein interfaceXSiteRequest<T>- Parameters:
origin- The sender site.registry- TheGlobalComponentRegistry.
-
invokeInLocalCache
-