Class ReplicaSystemFactory
java.lang.Object
org.apache.accumulo.server.replication.ReplicaSystemFactory
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget
(ServerContext context, String value) Deprecated.static String
getPeerConfigurationValue
(Class<? extends ReplicaSystem> system, String configuration) Deprecated.Generate the configuration value for aReplicaSystem
in the instance propertiesDeprecated.Parse the configuration value for a peer into its components:ReplicaSystem
class name and configuration string.
-
Constructor Details
-
ReplicaSystemFactory
public ReplicaSystemFactory()Deprecated.
-
-
Method Details
-
get
Deprecated.- Parameters:
value
-ReplicaSystem
implementation class name- Returns:
- A
ReplicaSystem
object from the given name
-
parseReplicaSystemConfiguration
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 aReplicaSystem
in the instance properties- Parameters:
system
- The desired ReplicaSystem to useconfiguration
- Configuration string for the desired ReplicaSystem- Returns:
- Value to set for peer configuration in the instance
-