|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.config.ClusterConfig
public class ClusterConfig
Cluster configuration.
| Constructor Summary | |
|---|---|
ClusterConfig(String id,
long syncDelay,
JournalFactory jf)
Creates a new cluster configuration. |
|
| Method Summary | |
|---|---|
String |
getId()
Return the id configuration attribute value. |
Journal |
getJournal(NamespaceResolver resolver)
Returns an initialized journal instance. |
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 |
|---|
public ClusterConfig(String id,
long syncDelay,
JournalFactory jf)
id - custom cluster node idsyncDelay - syncDelay, in millisecondsjc - journal configuration| Method Detail |
|---|
public String getId()
public long getSyncDelay()
public Journal getJournal(NamespaceResolver resolver)
throws RepositoryException
getJournal in interface JournalFactoryresolver - namespace resolver
RepositoryException
RepositoryException - if the journal can not be created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||