public class CommandStat extends Object
Modifier and Type | Field and Description |
---|---|
static Map<Command,CommandStat> |
commandAndCount |
AtomicLong |
handled |
AtomicLong |
received |
AtomicLong |
sent |
Constructor and Description |
---|
CommandStat() |
Modifier and Type | Method and Description |
---|---|
static CommandStat |
getCount(Command command) |
AtomicLong |
getHandled() |
AtomicLong |
getReceived() |
AtomicLong |
getSent() |
static void |
main(String[] args) |
public static final Map<Command,CommandStat> commandAndCount
public final AtomicLong received
public final AtomicLong handled
public final AtomicLong sent
public static CommandStat getCount(Command command)
public static void main(String[] args)
args
- public AtomicLong getReceived()
public AtomicLong getHandled()
public AtomicLong getSent()
Copyright © 2018. All rights reserved.