Class FragmentationInterceptor.FragKey
java.lang.Object
org.apache.catalina.tribes.group.interceptors.FragmentationInterceptor.FragKey
- Enclosing class:
FragmentationInterceptor
Key used to identify a set of fragments belonging to the same original message.
-
Constructor Summary
ConstructorsConstructorDescriptionFragKey(byte[] id) Creates a new fragment key with the given unique identifier. -
Method Summary
-
Constructor Details
-
FragKey
public FragKey(byte[] id) Creates a new fragment key with the given unique identifier.- Parameters:
id- The unique identifier for the message
-
-
Method Details
-
hashCode
-
equals
-
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
-