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 TypeMethodDescriptionvoidadd(CoordinationProtos.DrillbitEndpoint endpoint, long bytes) longget(CoordinationProtos.DrillbitEndpoint endpoint) longbooleanisEmpty()booleanisSet(CoordinationProtos.DrillbitEndpoint endpoint) Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
isSet
-
get
-
isEmpty
boolean isEmpty() -
getMaxBytes
long getMaxBytes() -
add
-