Class EndpointByteMapImpl
java.lang.Object
org.apache.drill.exec.store.schedule.EndpointByteMapImpl
- All Implemented Interfaces:
Iterable<com.carrotsearch.hppc.cursors.ObjectLongCursor<CoordinationProtos.DrillbitEndpoint>>
,EndpointByteMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(CoordinationProtos.DrillbitEndpoint endpoint, long bytes) long
get
(CoordinationProtos.DrillbitEndpoint endpoint) long
boolean
isEmpty()
boolean
isSet
(CoordinationProtos.DrillbitEndpoint endpoint) Iterator<com.carrotsearch.hppc.cursors.ObjectLongCursor<CoordinationProtos.DrillbitEndpoint>>
iterator()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
EndpointByteMapImpl
public EndpointByteMapImpl()
-
-
Method Details
-
isSet
- Specified by:
isSet
in interfaceEndpointByteMap
-
get
- Specified by:
get
in interfaceEndpointByteMap
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceEndpointByteMap
-
add
- Specified by:
add
in interfaceEndpointByteMap
-
getMaxBytes
public long getMaxBytes()- Specified by:
getMaxBytes
in interfaceEndpointByteMap
-
iterator
public Iterator<com.carrotsearch.hppc.cursors.ObjectLongCursor<CoordinationProtos.DrillbitEndpoint>> iterator()- Specified by:
iterator
in interfaceIterable<com.carrotsearch.hppc.cursors.ObjectLongCursor<CoordinationProtos.DrillbitEndpoint>>
-