Class GridTimeoutObjectAdapter
- java.lang.Object
-
- org.apache.ignite.internal.processors.timeout.GridTimeoutObjectAdapter
-
- All Implemented Interfaces:
GridTimeoutObject
public abstract class GridTimeoutObjectAdapter extends Object implements GridTimeoutObject
Default implementation forGridTimeoutObject.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGridTimeoutObjectAdapter(long timeout)protectedGridTimeoutObjectAdapter(IgniteUuid id, long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longendTime()IgniteUuidtimeoutId()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.processors.timeout.GridTimeoutObject
onTimeout
-
-
-
-
Constructor Detail
-
GridTimeoutObjectAdapter
protected GridTimeoutObjectAdapter(long timeout)
- Parameters:
timeout- Timeout for this object.
-
GridTimeoutObjectAdapter
protected GridTimeoutObjectAdapter(IgniteUuid id, long timeout)
- Parameters:
id- Timeout ID.timeout- Timeout for this object.
-
-
Method Detail
-
timeoutId
public IgniteUuid timeoutId()
- Specified by:
timeoutIdin interfaceGridTimeoutObject- Returns:
- ID of the object.
-
endTime
public long endTime()
- Specified by:
endTimein interfaceGridTimeoutObject- Returns:
- End time.
-
-