public class SystemCounters extends Object implements AutoCloseable
Constructor and Description |
---|
SystemCounters(CountersManager countersManager)
Construct the counters for this system.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close all the counters.
|
AtomicCounter |
get(SystemCounterDescriptor descriptor)
Get the counter for a particular descriptor.
|
public SystemCounters(CountersManager countersManager)
countersManager
- which will manage the underlying storage.public AtomicCounter get(SystemCounterDescriptor descriptor)
descriptor
- by which the counter should be looked up.public void close()
close
in interface AutoCloseable
Copyright © 2014-2021 Real Logic Limited. All Rights Reserved.