| |
|
| java.lang.Object com.tc.object.tx.WaitInvocation
WaitInvocation | final public class WaitInvocation (Code) | | Encapsulates an invocation of Object.wait(...)
|
Inner Class :final public static class Signature | |
Field Summary | |
final public static Signature | LONG | final public static Signature | LONG_INT | final public static Signature | NO_ARGS |
LONG | final public static Signature LONG(Code) | | Signature for 1 arg wait()
|
LONG_INT | final public static Signature LONG_INT(Code) | | Signature for 2 arg wait()
|
NO_ARGS | final public static Signature NO_ARGS(Code) | | Signature for untimed wait
|
WaitInvocation | public WaitInvocation()(Code) | | Untimed wait
|
WaitInvocation | public WaitInvocation(long millis)(Code) | | Wait for millis
Parameters: millis - Milliseconds to wait |
WaitInvocation | public WaitInvocation(long millis, int nanos)(Code) | | Wait for millis and nanos
Parameters: millis - Milliseconds Parameters: nanos - Nanoseconds |
adjust | public void adjust()(Code) | | Adjust by removing time to wait by now-last mark.
|
getMillis | public long getMillis()(Code) | | Get millis timeout |
getNanos | public int getNanos()(Code) | | Get nanos timeout |
getSignature | public Signature getSignature()(Code) | | Get method signature |
hasTimeout | public boolean hasTimeout()(Code) | | True if has timeout |
mark | public void mark()(Code) | | Mark seen at current time
|
needsToWait | public boolean needsToWait()(Code) | | True if timeouts are > 0 |
|
|
|