Package jetbrains.buildServer.diagnostic
Class ServerStatisticsDataHolder.BoundedPushingOutQueue<DataType>
- java.lang.Object
-
- jetbrains.buildServer.diagnostic.ServerStatisticsDataHolder.BoundedPushingOutQueue<DataType>
-
- All Implemented Interfaces:
Iterable<DataType>
- Enclosing class:
- ServerStatisticsDataHolder
protected static class ServerStatisticsDataHolder.BoundedPushingOutQueue<DataType> extends Object implements Iterable<DataType>
-
-
Constructor Summary
Constructors Constructor Description BoundedPushingOutQueue(Class<DataType> clazz, int bound)
BoundedPushingOutQueue(Class<DataType> clazz, int bound, int initialSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataType
get(int idx)
boolean
isAllDataNulls()
boolean
isEmpty()
Iterator<DataType>
iterator()
DataType
peekMostRecent()
void
put(DataType data)
void
setBound(int bound)
int
size()
-
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
-
-
-
-
Method Detail
-
put
public void put(@Nullable DataType data)
-
setBound
public void setBound(int bound)
-
get
@Nullable public DataType get(int idx)
-
peekMostRecent
@Nullable public DataType peekMostRecent()
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
isAllDataNulls
public boolean isAllDataNulls()
-
-