Package wt.fv.master
Interface MasterService
- All Known Implementing Classes:
StandardMasterService
The MasterService service presents an interface (accessible also in the
client) to the functions provided in the server by the StandardMasterService.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionaddFolder(Vault vault, ReplicaFolder folder) Add a folder to a given vault.Adds a policy rule.voidbroadcastConfig(Site site) Broadcasts configuration to the replica site.Retrieves all sites which are able to participate in the Content Replication process.Retrieves the current preferred site for the active principal.mountFolder(FvHost host, ReplicaFolder folder, String path) Mounts a replica folder to a given host.
-
Method Details
-
addRemotePolicyRule
Adds a policy rule. A policy rule will not be added if a different policy rule exists for vault from the same site and a given selector.
Supported API: true- Parameters:
rule-- Returns:
- FvPolicyRule
- Throws:
WTException
-
addFolder
Add a folder to a given vault. The specified folder's number will define an order in which the folder is going to be used in a vault.Specifying a number that already exists for a given vault results in shifting vaults to make a room for a new one.
Specifying -1 results in adding a folder to the end of the list.
Supported API: true- Parameters:
vault-folder-- Returns:
- ReplicaFolder
- Throws:
WTException
-
mountFolder
FvMount mountFolder(FvHost host, ReplicaFolder folder, String path) throws WTPropertyVetoException, WTException Mounts a replica folder to a given host.
Supported API: true- Parameters:
host-folder-path-- Returns:
- FvMount
- Throws:
WTPropertyVetoExceptionWTException
-
broadcastConfig
Broadcasts configuration to the replica site.
Supported API: true- Parameters:
site-- Throws:
WTException
-
getAllContentReplSites
Retrieves all sites which are able to participate in the Content Replication process.
Supported API: true- Returns:
- Vector
- Throws:
WTException
-
getCurrentPreferredSite
Retrieves the current preferred site for the active principal. If no preferred site is set for the active principal, returns null.
Supported API: true- Returns:
- Site
- Throws:
WTException
-