Class Shutdown

  • All Implemented Interfaces:
    PlatformMessage, java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    ShutdownImmediately

    public class Shutdown
    extends AdminMessage
    Sent to tell the AdminService to shutdown this instance of Attivio. The default shutdown mode specified will be used. If safe default shutdown is set, then shutdown will be done as safely as possible. A safe shutdown will try to do the following before stopping Attivio:

    1. Stop all new messages from being accepted into the Attivio instance. This means clients sending new PlatformMessages will get errors. 2. Stop all Connectors that are currently running (ex: FileConnector). 3. Wait until all existing documents have been processed by the system. 4. Stop the Attivio instance.

    See the ShutdownImmediately message for a more immediate shutdown.

    See Also:
    Serialized Form
    • Constructor Detail

      • Shutdown

        public Shutdown()
        The default constructor
      • Shutdown

        public Shutdown​(long delayUntilShutdown)
        Constructor
        Parameters:
        delayUntilShutdown - the delay until shutdown
    • Method Detail

      • getDelay

        public long getDelay()
      • setDelay

        public void setDelay​(long delay)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class AdminMessage