org.apache.jackrabbit.core.config
Class ClusterConfig

java.lang.Object
  extended by org.apache.jackrabbit.core.config.ClusterConfig

public class ClusterConfig
extends Object

Cluster configuration. This encapsulates the security related sub configuration JournalConfig.


Constructor Summary
ClusterConfig(String id, long syncDelay, JournalConfig jc)
          Creates a new cluster configuration.
 
Method Summary
 String getId()
          Return the id configuration attribute value.
 JournalConfig getJournalConfig()
          Returns the journal configuration.
 long getSyncDelay()
          Return the syncDelay configuration attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterConfig

public ClusterConfig(String id,
                     long syncDelay,
                     JournalConfig jc)
Creates a new cluster configuration.

Parameters:
id - custom cluster node id
syncDelay - syncDelay, in milliseconds
jc - journal configuration
Method Detail

getId

public String getId()
Return the id configuration attribute value.

Returns:
id attribute value

getSyncDelay

public long getSyncDelay()
Return the syncDelay configuration attribute value.

Returns:
syncDelay

getJournalConfig

public JournalConfig getJournalConfig()
Returns the journal configuration.

Returns:
journal configuration


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.