Class EventScope

java.lang.Object
de.hybris.platform.servicelayer.event.impl.EventScope
All Implemented Interfaces:
Serializable

public class EventScope extends Object implements Serializable
This class contains information about the tenant, the cluster id and the cluster island id. If an AbstractEvent (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:
  • Constructor Details

    • EventScope

      public EventScope()
  • Method Details

    • setTenantId

      public void setTenantId(String tenantId)
    • getTenantId

      public String getTenantId()
    • setClusterId

      public void setClusterId(int clusterId)
    • getClusterId

      public int getClusterId()
    • setClusterIslandId

      public void setClusterIslandId(long clusterIslandId)
    • getClusterIslandId

      public long getClusterIslandId()
    • toString

      public String toString()
      Overrides:
      toString in class Object