Interface EndpointByteMap
- All Superinterfaces:
Iterable<com.carrotsearch.hppc.cursors.ObjectLongCursor<CoordinationProtos.DrillbitEndpoint>>
- All Known Implementing Classes:
EndpointByteMapImpl
public interface EndpointByteMap
extends Iterable<com.carrotsearch.hppc.cursors.ObjectLongCursor<CoordinationProtos.DrillbitEndpoint>>
Presents an interface that describes the number of bytes for a particular work unit associated with a particular DrillbitEndpoint.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(CoordinationProtos.DrillbitEndpoint endpoint, long bytes) long
get
(CoordinationProtos.DrillbitEndpoint endpoint) long
boolean
isEmpty()
boolean
isSet
(CoordinationProtos.DrillbitEndpoint endpoint) Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
isSet
-
get
-
isEmpty
boolean isEmpty() -
getMaxBytes
long getMaxBytes() -
add
-