## Uses of Class
org.jgroups.util.Promise

Packages that use Promise
Package | Description
--- | ---
org.jgroups.blocks | Provides building blocks that are layered on top of channels.
org.jgroups.protocols | Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.

### Uses of Promise in org.jgroups.blocks

Fields in org.jgroups.blocks declared as Promise
Modifier and Type | Field and Description
--- | ---
`protected Promise<java.lang.Boolean>` | ReplicatedHashMap.`state_promise`

### Uses of Promise in org.jgroups.protocols

Fields in org.jgroups.protocols declared as Promise
Modifier and Type | Field and Description
--- | ---
`protected Promise<java.lang.Boolean>` | PING.`discovery_reception`

Methods in org.jgroups.protocols with parameters of type Promise
Modifier and Type | Method and Description
--- | ---
`java.util.List<PingData>` | Discovery.`findAllMembers(Promise<JoinRsp> promise)`
`java.util.List<View>` | Discovery.`findAllViews(Promise<JoinRsp> promise)` Finds the views: sends a GET_MBRS_REQ to all members, waits 'timeout' ms or until 'num_initial_members' have been retrieved
`java.util.List<PingData>` | Discovery.`findInitialMembers(Promise<JoinRsp> promise)` Finds initial members
`protected java.util.List<PingData>` | Discovery.`findInitialMembers(Promise<JoinRsp> promise, int num_expected_rsps, boolean break_on_coord, boolean return_views_only)`
`void` | TCPPING.`sendGetMembersRequest(java.lang.String cluster_name, Promise promise, boolean return_views_only)`
`void` | TCPGOSSIP.`sendGetMembersRequest(java.lang.String cluster_name, Promise promise, boolean return_views_only)`
`void` | FILE_PING.`sendGetMembersRequest(java.lang.String cluster_name, Promise promise, boolean return_views_only)`
`abstract void` | Discovery.`sendGetMembersRequest(java.lang.String cluster_name, Promise promise, boolean return_views_only)`
`void` | PING.`sendGetMembersRequest(java.lang.String cluster_name, Promise promise, boolean return_views_only)`

Constructors in org.jgroups.protocols with parameters of type Promise
Constructor and Description
`Discovery.Responses(int num_expected_rsps, int num_expected_srv_rsps, boolean break_on_coord_rsp, Promise<JoinRsp> promise)`