Class ContainerRegistryEventSource


  • public class ContainerRegistryEventSource
    extends Object
    The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
    • Constructor Detail

      • ContainerRegistryEventSource

        public ContainerRegistryEventSource()
    • Method Detail

      • addr

        public String addr()
        Get the IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
        Returns:
        the addr value
      • withAddr

        public ContainerRegistryEventSource withAddr​(String addr)
        Set the IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
        Parameters:
        addr - the addr value to set
        Returns:
        the ContainerRegistryEventSource object itself.
      • instanceID

        public String instanceID()
        Get the running instance of an application. Changes after each restart.
        Returns:
        the instanceID value
      • withInstanceID

        public ContainerRegistryEventSource withInstanceID​(String instanceID)
        Set the running instance of an application. Changes after each restart.
        Parameters:
        instanceID - the instanceID value to set
        Returns:
        the ContainerRegistryEventSource object itself.