Package wt.fv.master

Interface MasterService

All Known Implementing Classes:
StandardMasterService

@RemoteInterface public interface MasterService
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
  • Method Details

    • addRemotePolicyRule

      FvPolicyRule addRemotePolicyRule(FvPolicyRule rule) throws WTException
      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

      ReplicaFolder addFolder(Vault vault, ReplicaFolder folder) throws WTException
      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:
      WTPropertyVetoException
      WTException
    • broadcastConfig

      void broadcastConfig(Site site) throws WTException
      Broadcasts configuration to the replica site.

      Supported API: true
      Parameters:
      site -
      Throws:
      WTException
    • getAllContentReplSites

      Vector getAllContentReplSites() throws WTException
      Retrieves all sites which are able to participate in the Content Replication process.

      Supported API: true
      Returns:
      Vector
      Throws:
      WTException
    • getCurrentPreferredSite

      Site getCurrentPreferredSite() throws WTException
      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