Package | Description |
---|---|
org.opendaylight.controller.cluster.datastore.policy | |
org.opendaylight.controller.cluster.raft | |
org.opendaylight.controller.cluster.raft.policy |
Modifier and Type | Class and Description |
---|---|
class |
TestOnlyRaftPolicy
A RaftPolicy that disables elections so that we can then specify exactly which Shard Replica should be
Leader.
|
class |
TwoNodeClusterRaftPolicy
The TwoNodeClusterRaftPolicy is intended to be used in a two node deployment where when one instance
of the controller goes down the other instance is to take over and move the state forward.
|
Modifier and Type | Method and Description |
---|---|
RaftPolicy |
DefaultConfigParamsImpl.getRaftPolicy() |
RaftPolicy |
RaftActorContextImpl.getRaftPolicy() |
RaftPolicy |
ConfigParams.getRaftPolicy()
Returns the RaftPolicy used to determine certain Raft behaviors.
|
RaftPolicy |
RaftActorContext.getRaftPolicy()
Returns the RaftPolicy used to determine certain Raft behaviors.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultRaftPolicy |
class |
DisableElectionsRaftPolicy
DisableElectionsRaftPolicy can be used for actors that does not
participate in shard election.
|
Modifier and Type | Field and Description |
---|---|
static RaftPolicy |
DefaultRaftPolicy.INSTANCE |
Copyright © 2019 OpenDaylight. All rights reserved.