Class TwoPhaseCommitInterceptor.MapEntry
java.lang.Object
org.apache.catalina.tribes.group.interceptors.TwoPhaseCommitInterceptor.MapEntry
- Enclosing class:
TwoPhaseCommitInterceptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpired(long now, long expiration) Checks if this entry has expired.
-
Field Details
-
msg
-
id
-
timestamp
public final long timestamp
-
-
Constructor Details
-
MapEntry
-
-
Method Details
-
expired
public boolean expired(long now, long expiration) Checks if this entry has expired.- Parameters:
now- the current timeexpiration- the expiration period- Returns:
- true if expired
-