Class ProbeAdminHandler
java.lang.Object
org.jgroups.admin.AdminHandler
org.jgroups.admin.ProbeAdminHandler
Implementation of
AdminHandler which invokes all DiagnosticsHandler.ProbeHandler
instances in the instance and returns the collected responses as strings- Since:
- 5.6.0
- Author:
- Bela Ban
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AtomicIntegerstatic final Stringprotected final ResponseCollector<String> protected longFields inherited from class AdminHandler
ch, FAIL, OK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteRequest(String req) voidhandleRequest(Message msg, AdminHeader ignored) voidhandleResponse(Message msg, AdminHeader ignored) sendProbeRequest(Address dest, String cmd) Sends a probe command to all members of the current cluster.longtimeout()voidtimeout(long t) Methods inherited from class AdminHandler
channel, handleMessage, sendRequest, sendRequest, sendResponse, sendResponse
-
Field Details
-
cnt
-
KEY
- See Also:
-
timeout
protected long timeout -
rsp_coll
-
-
Constructor Details
-
ProbeAdminHandler
-
-
Method Details
-
timeout
public long timeout() -
timeout
public void timeout(long t) -
executeRequest
- Overrides:
executeRequestin classAdminHandler
-
sendProbeRequest
-
handleRequest
- Specified by:
handleRequestin classAdminHandler
-
handleResponse
- Specified by:
handleResponsein classAdminHandler
-