public class RepInternal extends Object
| Constructor and Description |
|---|
RepInternal() |
| Modifier and Type | Method and Description |
|---|---|
static ReplicatedEnvironment |
createDetachedEnv(File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig) |
static ReplicatedEnvironment |
createInternalEnvHandle(File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig) |
static void |
disableParameterValidation(ReplicationMutableConfig config)
Proxy to ReplicationMutableConfig.validateParams.
|
static boolean |
getAllowConvert(ReplicationConfig repConfig) |
static int |
getNodeId(ReplicatedEnvironment rep) |
static RepImpl |
getNonNullRepImpl(ReplicatedEnvironment rep)
Proxy to ReplicatedEnvironment.getNonNullEnvImpl
This method is called to access the underlying RepImpl when an env is
expected to be open, to guard against NPE when the env has been closed.
|
static RepGroupImpl |
getRepGroupImpl(ReplicationGroup group) |
static RepImpl |
getRepImpl(ReplicatedEnvironment rep)
Proxy to ReplicatedEnvironment.getMaybeNullRepImpl.
|
static ReplicatedEnvironmentStats |
makeReplicatedEnvironmentStats(RepImpl repImpl,
StatsConfig config) |
static ReplicationConfig |
makeReplicationConfig(Properties props,
boolean validateParams) |
static void |
setAllowConvert(ReplicationConfig repConfig,
boolean allowConvert) |
public static RepImpl getRepImpl(ReplicatedEnvironment rep)
public static RepImpl getNonNullRepImpl(ReplicatedEnvironment rep)
IllegalStateException - if the env has been closed.public static RepGroupImpl getRepGroupImpl(ReplicationGroup group)
public static ReplicationConfig makeReplicationConfig(Properties props, boolean validateParams) throws IllegalArgumentException
IllegalArgumentExceptionpublic static int getNodeId(ReplicatedEnvironment rep)
public static ReplicatedEnvironment createDetachedEnv(File envHome, ReplicationConfig repConfig, EnvironmentConfig envConfig) throws DatabaseException
DatabaseExceptionpublic static ReplicatedEnvironment createInternalEnvHandle(File envHome, ReplicationConfig repConfig, EnvironmentConfig envConfig) throws DatabaseException
DatabaseExceptionpublic static void disableParameterValidation(ReplicationMutableConfig config)
public static ReplicatedEnvironmentStats makeReplicatedEnvironmentStats(RepImpl repImpl, StatsConfig config)
public static void setAllowConvert(ReplicationConfig repConfig, boolean allowConvert)
public static boolean getAllowConvert(ReplicationConfig repConfig)
Copyright © 2024. All rights reserved.