public class AbstractListener extends Object
| Constructor and Description |
|---|
AbstractListener() |
| Modifier and Type | Method and Description |
|---|---|
String |
logCall(String methodName,
com.gemstone.gemfire.admin.SystemMembershipEvent event)
Log that an event occurred.
|
static void |
throwException(String errStr)
Utility method to write an Exception string to the Admin Blackboard and
to also throw an exception containing the same string.
|
String |
toString(String methodName,
com.gemstone.gemfire.admin.SystemMembershipEvent event)
Return a string description of the event.
|
static void |
verifyMemberJoined(com.gemstone.gemfire.distributed.DistributedMember dm)
verify that the member reporting the event is part of the
active members list.
|
public String logCall(String methodName, com.gemstone.gemfire.admin.SystemMembershipEvent event)
methodName - The name of the SystemMembershipEvent callback method
that was invoked.event - The event object that was passed to the event.public String toString(String methodName, com.gemstone.gemfire.admin.SystemMembershipEvent event)
methodName - The name of the Event callback method that was invoked.event - The SystemMembership Event object that was passed to the event.public static void verifyMemberJoined(com.gemstone.gemfire.distributed.DistributedMember dm)
TestException - if received for a member not in the listAdminBB.activeMemberspublic static void throwException(String errStr)
errStr - String to log, post to EventBB and throwTestException - containing the passed in Stringutil.TestHelper.checkForEventErrorCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.