Package io.aeron.driver.status
Class ReceiveLocalSocketAddress
java.lang.Object
io.aeron.driver.status.ReceiveLocalSocketAddress
The receiving end of a local socket address, i.e. the destination or endpoint for a subscription.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtomicCounterallocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long registrationId, int channelStatusId) Allocate a counter to represent a local socket address associated with a receiving channel.
-
Field Details
-
NAME
The human-readable name for the beginning of a label.- See Also:
-
-
Constructor Details
-
ReceiveLocalSocketAddress
public ReceiveLocalSocketAddress()
-
-
Method Details
-
allocate
public static AtomicCounter allocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long registrationId, int channelStatusId) Allocate a counter to represent a local socket address associated with a receiving channel.- Parameters:
tempBuffer- for building up the key and label.countersManager- which will allocate the counter.registrationId- of the action the counter is associated with.channelStatusId- with which the new counter is associated.- Returns:
- the allocated counter.
-