Class ReplicaSystemFactory

java.lang.Object
org.apache.accumulo.server.replication.ReplicaSystemFactory

@Deprecated public class ReplicaSystemFactory extends Object
Deprecated.
  • Constructor Details

    • ReplicaSystemFactory

      public ReplicaSystemFactory()
      Deprecated.
  • Method Details

    • get

      public ReplicaSystem get(ServerContext context, String value)
      Deprecated.
      Parameters:
      value - ReplicaSystem implementation class name
      Returns:
      A ReplicaSystem object from the given name
    • parseReplicaSystemConfiguration

      public Map.Entry<String,String> parseReplicaSystemConfiguration(String value)
      Deprecated.
      Parse the configuration value for a peer into its components: ReplicaSystem class name and configuration string.
      Parameters:
      value - The configuration value for a replication peer.
      Returns:
      An entry where the set is the replica system name and the value is the configuration string.
    • getPeerConfigurationValue

      public static String getPeerConfigurationValue(Class<? extends ReplicaSystem> system, String configuration)
      Deprecated.
      Generate the configuration value for a ReplicaSystem in the instance properties
      Parameters:
      system - The desired ReplicaSystem to use
      configuration - Configuration string for the desired ReplicaSystem
      Returns:
      Value to set for peer configuration in the instance