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 DataTypeget(int idx)booleanisAllDataNulls()booleanisEmpty()Iterator<DataType>iterator()DataTypepeekMostRecent()voidput(DataType data)voidsetBound(int bound)intsize()-
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()
-
-