public class UUPerf extends ReceiverAdapter
限定符和类型 | 类和说明 |
---|---|
static class |
UUPerf.ConfigOptions |
static class |
UUPerf.Results |
构造器和说明 |
---|
UUPerf() |
限定符和类型 | 方法和说明 |
---|---|
static void |
applyState(byte[] val) |
void |
eventLoop() |
UUPerf.ConfigOptions |
getConfig() |
void |
init(java.lang.String props,
java.lang.String name) |
static void |
main(java.lang.String[] args) |
void |
setMessageSize(int num) |
void |
setNumMessages(int num) |
void |
setNumThreads(int num) |
void |
setOOB(boolean oob) |
void |
setSync(boolean val) |
UUPerf.Results |
startTest() |
void |
viewAccepted(View new_view)
Called when a change in membership has occurred.
|
public void init(java.lang.String props, java.lang.String name) throws java.lang.Throwable
java.lang.Throwable
public void viewAccepted(View new_view)
ReceiverAdapter
Channel.connect(String)
returns.viewAccepted
在接口中 MembershipListener
viewAccepted
在类中 ReceiverAdapter
public UUPerf.Results startTest() throws java.lang.Throwable
java.lang.Throwable
public void setOOB(boolean oob)
public void setSync(boolean val)
public void setNumMessages(int num)
public void setNumThreads(int num)
public void setMessageSize(int num)
public static void applyState(byte[] val)
public UUPerf.ConfigOptions getConfig()
public void eventLoop() throws java.lang.Throwable
java.lang.Throwable
public static void main(java.lang.String[] args)