public class UPerf extends ReceiverAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
UPerf.ConfigOptions |
static class |
UPerf.Results |
| Modifier and Type | Field and Description |
|---|---|
protected List<Address> |
members |
protected List<Address> |
site_masters |
| Constructor and Description |
|---|
UPerf() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSiteMastersToMembers() |
void |
eventLoop() |
byte[] |
get(long key) |
UPerf.ConfigOptions |
getConfig() |
protected static List<String> |
getSites(JChannel channel) |
void |
init(String props,
String name,
boolean xsite) |
static void |
main(String[] args) |
void |
put(long key,
byte[] val) |
void |
setAnycastCount(int num) |
void |
setMessageSize(int num) |
void |
setNumMessages(int num) |
void |
setNumThreads(int num) |
void |
setOOB(boolean oob) |
void |
setReadPercentage(double val) |
void |
setSync(boolean val) |
void |
setUseAnycastAddrs(boolean flag) |
UPerf.Results |
startTest() |
void |
viewAccepted(View new_view)
Called when a change in membership has occurred.
|
public void viewAccepted(View new_view)
ReceiverAdapterChannel.connect(String) returns.viewAccepted in interface MembershipListenerviewAccepted in class ReceiverAdapterprotected void addSiteMastersToMembers()
public UPerf.Results startTest() throws Throwable
Throwablepublic 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 void setAnycastCount(int num)
public void setUseAnycastAddrs(boolean flag)
public void setReadPercentage(double val)
public byte[] get(long key)
public void put(long key,
byte[] val)
public UPerf.ConfigOptions getConfig()
public static void main(String[] args)
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.