public class FixedTimeoutStrategy extends Object implements TimeoutStrategy
TimeoutStrategy that sets timeouts to a given fixed value.| Constructor and Description |
|---|
FixedTimeoutStrategy(long timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
tick(long now) |
void |
timeoutCancelled(Message timeoutMessage) |
long |
timeoutFor(Message message) |
void |
timeoutTriggered(Message timeoutMessage) |
public long timeoutFor(Message message)
timeoutFor in interface TimeoutStrategypublic void timeoutTriggered(Message timeoutMessage)
timeoutTriggered in interface TimeoutStrategypublic void timeoutCancelled(Message timeoutMessage)
timeoutCancelled in interface TimeoutStrategypublic void tick(long now)
tick in interface TimeoutStrategyCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.