Package org.infinispan.xsite.events
Class XSiteEvent
java.lang.Object
org.infinispan.xsite.events.XSiteEvent
Represents an event related to cross-site.
This event may be local to the cluster, for example to notify a sites view change, or going remotely to other sites.
- Since:
- 15.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic XSiteEventcreateConnectEvent(ByteString localSite) static XSiteEventcreateInitialStateRequest(ByteString localSite, ByteString cacheName) static XSiteEventcreateRequestState(ByteString localSite, ByteString cacheName) booleangetType()inthashCode()static XSiteEventreadFrom(ObjectInput input) toString()static voidwriteTo(ObjectOutput output, XSiteEvent event)
-
Method Details
-
createConnectEvent
-
createRequestState
-
createInitialStateRequest
-
getType
-
getSiteName
-
getCacheName
-
toString
-
equals
-
hashCode
public int hashCode() -
writeTo
- Throws:
IOException
-
readFrom
- Throws:
IOException
-