public class DrpcResultsPrinter extends Object
Constructor and Description |
---|
DrpcResultsPrinter(DistributedRPC.Iface drpcClient) |
Modifier and Type | Method and Description |
---|---|
static DrpcResultsPrinter |
localClient() |
static void |
main(String[] args) |
void |
printResults(int num,
int sleepTime,
TimeUnit sleepUnit)
Prints the DRPC results for the number of times specified, sleeping the specified time in between prints
|
static DrpcResultsPrinter |
remoteClient() |
static DrpcResultsPrinter |
remoteClient(Map<String,Object> config,
String host,
int port) |
public DrpcResultsPrinter(DistributedRPC.Iface drpcClient)
public static DrpcResultsPrinter localClient()
public static DrpcResultsPrinter remoteClient()
public static DrpcResultsPrinter remoteClient(Map<String,Object> config, String host, int port)
public void printResults(int num, int sleepTime, TimeUnit sleepUnit)
Prints the DRPC results for the number of times specified, sleeping the specified time in between prints
public static void main(String[] args)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.