public class Counter
extends org.agrona.concurrent.status.AtomicCounter
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the counter, releasing the resource managed by the media driver if this was the creator of the Counter.
|
boolean |
isClosed()
Has this object been closed and should no longer be used?
|
long |
registrationId()
Return the registration id used to register this counter with the media driver.
|
public long registrationId()
public void close()
This method is idempotent.
close
in interface java.lang.AutoCloseable
close
in class org.agrona.concurrent.status.AtomicCounter
public boolean isClosed()
isClosed
in class org.agrona.concurrent.status.AtomicCounter
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.