public class DBMirrorManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static DBMirrorManager |
getInstance(Server server)
Returns a singleton instance for the given server.
|
DBMirrorESP |
getMirrorESP(GUID guid)
Returns the mirroring module for the given GUID.
|
MirroringInfo |
getMirroringInfo(GUID catalogUID)
Returns the mirroring process information.
|
GUID[] |
getMirrorsAvailable()
Returns an array of GUIDs for all mirroring modules currently available at the server.
|
public static DBMirrorManager getInstance(Server server)
server
- the server to get the mirroring information forpublic DBMirrorESP getMirrorESP(GUID guid) throws CumulusException, java.lang.ClassNotFoundException, InvalidStateException
guid
- the mirroring module GUIDCumulusException
- in case of an errorjava.lang.ClassNotFoundException
- class for the module could not be foundInvalidStateException
- module could not be createdpublic MirroringInfo getMirroringInfo(GUID catalogUID) throws CumulusException
catalogUID
- the mirroring process UIDCumulusException
- in case of an errorDBMirroring.getMirroringCatalogUID()
public GUID[] getMirrorsAvailable() throws CumulusException, InvalidStateException
CumulusException
- in case of an errorInvalidStateException
- error communicating with the serverwww.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.