public class DBMirroring extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
void |
enableMirroring(boolean value)
Configures whether mirroring is enabled.
|
GUID |
getMirroringCatalogUID()
Returns the mirroring process UID which is unique for the cataloging process itself.
|
JPack |
getMirroringConfiguration(PackListener listener)
Returns the mirroring module specific configuration pack.
|
GUID |
getMirroringModule()
Returns the
GUID of the mirroring module at the server. |
boolean |
isMirroringEnabled()
Returns whether mirroring is enabled.
|
boolean |
isMirroringSlave()
Returns whether this catalog is the slave of another cumulus catalog.
|
void |
setMirroringConfiguration(PackListener listener,
JPack pack)
Sets the mirroring module specific configuration pack.
|
void |
setMirroringModule(GUID guid)
Sets the
GUID of the mirroring module. |
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public boolean isMirroringEnabled()
public void enableMirroring(boolean value)
value
- set to true to enable mirroringpublic boolean isMirroringSlave()
public GUID getMirroringModule()
GUID
of the mirroring module at the server.GUID
of the mirroring modulepublic void setMirroringModule(GUID guid)
GUID
of the mirroring module.guid
- the GUID
of the mirroring module to use for mirroringpublic JPack getMirroringConfiguration(PackListener listener)
listener
- the pack listener being notified if all catalog settings should be savedpublic void setMirroringConfiguration(PackListener listener, JPack pack)
listener
- the listener previously registered when calling getMirroringConfiguration(PackListener)
pack
- the new configuration packpublic GUID getMirroringCatalogUID()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.