Package com.atlassian.confluence.core
Interface ConfluenceSidManager
-
- All Known Implementing Classes:
BootstrapSidManager
,DatabaseSidManager
public interface ConfluenceSidManager
An SID is a unique ID for a particular Confluence instance. This ID is associates with a particular Confluence installation and as such, all nodes in a cluster will return the same SID.Full exports of Confluence data retain the SID when imported.
- See Also:
- SALES:Server ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getSid()
Retrieve the current instance SIDvoid
initSid()
Generates and associates a server IDboolean
isSidSet()
-
-
-
Method Detail
-
initSid
void initSid() throws com.atlassian.config.ConfigurationException
Generates and associates a server ID- Throws:
com.atlassian.config.ConfigurationException
- if a Server ID has already been associated with the current instance
-
getSid
String getSid() throws com.atlassian.config.ConfigurationException
Retrieve the current instance SID- Returns:
- The current instance SID or null if none exists
- Throws:
com.atlassian.config.ConfigurationException
-
isSidSet
boolean isSidSet() throws com.atlassian.config.ConfigurationException
- Returns:
- True if a SID has been initialised
- Throws:
com.atlassian.config.ConfigurationException
-
-