public class Gossiper extends AbstractUntypedActorWithMetering
It keeps a local scheduler that periodically sends Gossip ticks to itself to send bucket store's bucket versions to a randomly selected remote gossiper.
When bucket versions are received from a remote gossiper, it is compared with bucket store's bucket versions. Which ever buckets are newer locally, are sent to remote gossiper. If any bucket is older in bucket store, a gossip status is sent to remote gossiper so that it can send the newer buckets.
When a bucket is received from a remote gossiper, its sent to the bucket store for update.
LOG| Modifier and Type | Method and Description |
|---|---|
protected void |
handleReceive(Object message)
Receive and handle an incoming message.
|
void |
postStop() |
void |
preStart() |
static akka.actor.Props |
props(RemoteRpcProviderConfig config) |
getActorNameOverrideexecuteInSelf, ignoreMessage, isValidSender, onReceive, unknownMessageakka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, getContext, getSelf, getSender, postRestart, preRestart, receive, self, sender, supervisorStrategy, unhandledpublic static akka.actor.Props props(RemoteRpcProviderConfig config)
public void preStart()
preStart in interface akka.actor.ActorpreStart in class akka.actor.UntypedActorpublic void postStop()
postStop in interface akka.actor.ActorpostStop in class akka.actor.UntypedActorprotected void handleReceive(Object message)
AbstractUntypedActorAbstractUntypedActor.ignoreMessage(Object) or AbstractUntypedActor.unknownMessage(Object).handleReceive in class AbstractUntypedActormessage - the incoming messageCopyright © 2019 OpenDaylight. All rights reserved.