public abstract class InterruptThreadTimer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InterruptThreadTimer.InterruptThreadTask |
static class |
InterruptThreadTimer.State |
| Constructor and Description |
|---|
InterruptThreadTimer() |
| Modifier and Type | Method and Description |
|---|---|
static InterruptThreadTimer |
createNoOpTimer() |
static InterruptThreadTimer |
createTimer(long timeoutMillis,
Thread threadToInterrupt) |
abstract InterruptThreadTimer.State |
getState() |
abstract long |
getTimeoutMillis() |
abstract void |
startCountdown() |
abstract void |
stopCountdown() |
abstract boolean |
wasTriggered() |
public static InterruptThreadTimer createTimer(long timeoutMillis, Thread threadToInterrupt)
public static InterruptThreadTimer createNoOpTimer()
public abstract void startCountdown()
public abstract void stopCountdown()
public abstract boolean wasTriggered()
public abstract InterruptThreadTimer.State getState()
public abstract long getTimeoutMillis()
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.