Class EventScope
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.EventScope
-
- All Implemented Interfaces:
java.io.Serializable
public class EventScope extends java.lang.Object implements java.io.SerializableThis class contains information about the tenant, the cluster id and the cluster island id. If anAbstractEvent(or any subclass) contains an EventScope this means the hybris platform is used in a cluster environment and the EventScope contains information from which cluster the event was sent.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetClusterId()longgetClusterIslandId()java.lang.StringgetTenantId()voidsetClusterId(int clusterId)voidsetClusterIslandId(long clusterIslandId)voidsetTenantId(java.lang.String tenantId)java.lang.StringtoString()
-
-
-
Method Detail
-
setTenantId
public void setTenantId(java.lang.String tenantId)
-
getTenantId
public java.lang.String getTenantId()
-
setClusterId
public void setClusterId(int clusterId)
-
getClusterId
public int getClusterId()
-
setClusterIslandId
public void setClusterIslandId(long clusterIslandId)
-
getClusterIslandId
public long getClusterIslandId()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-