Class ProxyJoinClusterEvent

java.lang.Object
me.internalizable.numdrassl.api.event.cluster.ProxyJoinClusterEvent

public final class ProxyJoinClusterEvent extends Object
Event fired when a proxy instance joins the cluster.

This event is fired on all proxies in the cluster when a new proxy sends its first heartbeat.

  • Constructor Details

    • ProxyJoinClusterEvent

      public ProxyJoinClusterEvent(@Nonnull ProxyInfo proxyInfo)
  • Method Details

    • getProxyInfo

      @Nonnull public ProxyInfo getProxyInfo()
      Get information about the proxy that joined.
      Returns:
      the new proxy's info
    • getProxyId

      @Nonnull public String getProxyId()
      Get the ID of the proxy that joined.
      Returns:
      the proxy ID
    • getRegion

      @Nonnull public String getRegion()
      Get the region of the proxy that joined.
      Returns:
      the proxy's region