public class CachedAnnouncement extends Object
Modifier and Type | Method and Description |
---|---|
Announcement |
getAnnouncement() |
long |
getFirstPing() |
long |
getLastPing() |
long |
getSecondsUntilTimeout()
Returns the second until the next heartbeat is expected, otherwise the timeout will hit
|
boolean |
hasExpired() |
public final boolean hasExpired()
public final long getLastPing()
public final long getFirstPing()
public final long getSecondsUntilTimeout()
public final Announcement getAnnouncement()
Copyright © 2017 The Apache Software Foundation. All rights reserved.