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 XSiteEvent
createConnectEvent
(ByteString localSite) static XSiteEvent
createInitialStateRequest
(ByteString localSite, ByteString cacheName) static XSiteEvent
createRequestState
(ByteString localSite, ByteString cacheName) boolean
getType()
int
hashCode()
static XSiteEvent
readFrom
(ObjectInput input) toString()
static void
writeTo
(ObjectOutput output, XSiteEvent event)
-
Method Details
-
createConnectEvent
-
createRequestState
-
createInitialStateRequest
-
getType
-
getSiteName
-
getCacheName
-
toString
-
equals
-
hashCode
public int hashCode() -
writeTo
- Throws:
IOException
-
readFrom
- Throws:
IOException
-