Package | Description |
---|---|
org.apache.zookeeper.server.quorum |
Modifier and Type | Method and Description |
---|---|
static LearnerSyncThrottler.SyncType |
LearnerSyncThrottler.SyncType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LearnerSyncThrottler.SyncType[] |
LearnerSyncThrottler.SyncType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
LearnerSyncThrottler(int maxConcurrentSyncs,
LearnerSyncThrottler.SyncType syncType)
Constructs a new instance limiting the concurrent number of syncs to
maxConcurrentSyncs . |
SyncThrottleException(int concurrentSyncNumber,
int throttleThreshold,
LearnerSyncThrottler.SyncType syncType) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.