public interface NodeObserver
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
onNodeFailure(Collection<Link> failedLinks)
called when node failure is detected by DDLL's node monitor.
|
void |
onRightNodeChange(Link prevRight,
Link newRight,
Object payload)
called when the right link is changed by receiving a SetR message.
|
void |
payloadNotSent(Object payload)
called when the payload given via
Node.setR(Link, int, Link, Link, LinkNum, int, Object)
is not passed to the specified remote node. |
List<Link> |
suppplyLeftCandidatesForFix() |
void onRightNodeChange(Link prevRight, Link newRight, Object payload)
prevRight - the previous right linknewRight - the new right linkpayload - an Object passed with SetR message.Node.setR(Link, int, Link, Link, LinkNum, int, Object)void payloadNotSent(Object payload)
Node.setR(Link, int, Link, Link, LinkNum, int, Object)
is not passed to the specified remote node.
typically this happens when the SetR request fails.payload - the payload not has been sentboolean onNodeFailure(Collection<Link> failedLinks)
failedLinks - the collection of failed links.Copyright © 2017. All rights reserved.