Package com.attivio.sdk.admin
Class Shutdown
- java.lang.Object
- 
- com.attivio.sdk.esb.AbstractPlatformMessage
- 
- com.attivio.sdk.admin.AdminMessage
- 
- com.attivio.sdk.admin.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 ShutdownImmediatelymessage for a more immediate shutdown.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from interface com.attivio.sdk.esb.PlatformMessageDEFAULT_MAX_LOG_LENGTH, MESSAGE_DROPPED, MESSAGE_SEND_TIME_PROP, PROP_MAX_LOG_LENGTH
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)longgetDelay()inthashCode()voidsetDelay(long delay)java.lang.StringtoString()- 
Methods inherited from class com.attivio.sdk.admin.AdminMessagegetMessageId, setMessageId
 - 
Methods inherited from class com.attivio.sdk.esb.AbstractPlatformMessageaddMessageHistory, addMessageHistory, clone, getClientId, getEstimatedSize, getMessageHistory, getMetadata, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getWorkflowQueue, getWorkflowQueue, hasProperty, isRedelivered, removeProperty, removeWorkflowQueue, setClientId, setProperty, setRedelivered, setWorkflowQueue, setWorkflowQueue, toMessageString, toString, toString, toString, toString, toString, toString, toString, toString, toString
 
- 
 
- 
- 
- 
Method Detail- 
getDelaypublic long getDelay() 
 - 
setDelaypublic void setDelay(long delay) 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AdminMessage
 
 - 
equalspublic boolean equals(java.lang.Object other) - Overrides:
- equalsin class- AdminMessage
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- AbstractPlatformMessage
 
 
- 
 
-