Class FragmentationInterceptor.FragKey
- java.lang.Object
-
- org.apache.catalina.tribes.group.interceptors.FragmentationInterceptor.FragKey
-
- Enclosing class:
- FragmentationInterceptor
public static class FragmentationInterceptor.FragKey extends java.lang.ObjectKey used to identify a set of fragments belonging to the same original message.
-
-
Constructor Summary
Constructors Constructor Description FragKey(byte[] id)Creates a new fragment key with the given unique identifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)booleanexpired(long expire)Checks if this fragment key has expired.inthashCode()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
expired
public boolean expired(long expire)
Checks if this fragment key has expired.- Parameters:
expire- The expiration time in milliseconds- Returns:
trueif the key has expired
-
-