Package org.apache.catalina.tribes.group
Class RpcChannel.RpcCollector
- java.lang.Object
-
- org.apache.catalina.tribes.group.RpcChannel.RpcCollector
-
- Enclosing class:
- RpcChannel
public static class RpcChannel.RpcCollector extends java.lang.Object
Class that holds all response.- Version:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description RpcCollector(RpcChannel.RpcCollectorKey key, int options, int destcnt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResponse(java.io.Serializable message, Member sender)
boolean
equals(java.lang.Object o)
Response[]
getResponses()
int
hashCode()
boolean
isComplete()
-
-
-
Field Detail
-
responses
public final java.util.ArrayList<Response> responses
-
key
public final RpcChannel.RpcCollectorKey key
-
options
public final int options
-
destcnt
public int destcnt
-
-
Constructor Detail
-
RpcCollector
public RpcCollector(RpcChannel.RpcCollectorKey key, int options, int destcnt)
-
-
Method Detail
-
addResponse
public void addResponse(java.io.Serializable message, Member sender)
-
isComplete
public boolean isComplete()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
getResponses
public Response[] getResponses()
-
-