public class ReplicaSystemFactory extends Object
Constructor and Description |
---|
ReplicaSystemFactory() |
Modifier and Type | Method and Description |
---|---|
ReplicaSystem |
get(String value) |
static String |
getPeerConfigurationValue(Class<? extends ReplicaSystem> system,
String configuration)
Generate the configuration value for a
ReplicaSystem in the instance properties |
Map.Entry<String,String> |
parseReplicaSystemConfiguration(String value)
Parse the configuration value for a peer into its components:
ReplicaSystem class name and configuration string. |
public ReplicaSystem get(String value)
value
- ReplicaSystem
implementation class nameReplicaSystem
object from the given namepublic Map.Entry<String,String> parseReplicaSystemConfiguration(String value)
ReplicaSystem
class name and configuration string.value
- The configuration value for a replication peer.public static String getPeerConfigurationValue(Class<? extends ReplicaSystem> system, String configuration)
ReplicaSystem
in the instance propertiessystem
- The desired ReplicaSystem to useconfiguration
- Configuration string for the desired ReplicaSystemCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.