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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(CoordinationProtos.DrillbitEndpoint endpoint, long bytes) longget(CoordinationProtos.DrillbitEndpoint endpoint) longbooleanisEmpty()booleanisSet(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, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
EndpointByteMapImpl
public EndpointByteMapImpl()
-
-
Method Details
-
isSet
- Specified by:
isSetin interfaceEndpointByteMap
-
get
- Specified by:
getin interfaceEndpointByteMap
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceEndpointByteMap
-
add
- Specified by:
addin interfaceEndpointByteMap
-
getMaxBytes
public long getMaxBytes()- Specified by:
getMaxBytesin interfaceEndpointByteMap
-
iterator
public Iterator<com.carrotsearch.hppc.cursors.ObjectLongCursor<CoordinationProtos.DrillbitEndpoint>> iterator()- Specified by:
iteratorin interfaceIterable<com.carrotsearch.hppc.cursors.ObjectLongCursor<CoordinationProtos.DrillbitEndpoint>>
-