public class MessageDispatcherSpeedTest extends ReceiverAdapter implements RequestHandler
Constructor and Description |
---|
MessageDispatcherSpeedTest(String props,
boolean server,
int num) |
Modifier and Type | Method and Description |
---|---|
Object |
handle(Message msg)
Processes a request synchronously, ie.
|
static void |
main(String[] args) |
void |
start() |
void |
viewAccepted(View new_view)
Called when a change in membership has occurred.
|
block, getState, receive, receive, setState, suspect, unblock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handle
public MessageDispatcherSpeedTest(String props, boolean server, int num)
public Object handle(Message msg) throws Exception
RequestHandler
handle
in interface RequestHandler
msg
- the message containing the requestException
public void viewAccepted(View new_view)
MembershipListener
JChannel.connect(String)
returns.viewAccepted
in interface MembershipListener
viewAccepted
in class ReceiverAdapter
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.