Class RoutingService

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, LifecycleComponent, Releasable

    public class RoutingService
    extends AbstractLifecycleComponent
    A RoutingService listens to clusters state. When this service receives a ClusterChangedEvent the cluster state will be verified and the routing tables might be updated.

    Note: The RoutingService is responsible for cluster wide operations that include modifications to the cluster state. Such an operation can only be performed on the clusters master node. Unless the local node this service is running on is the clusters master node this service will not perform any actions.