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
 java.lang.String getSid()
          Retrieve the current instance SID
 void initSid()
          Generates and associates a server ID
 boolean 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

java.lang.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


Copyright © 2003-2014 Atlassian. All Rights Reserved.