Class ServerStatisticsDataHolder.BoundedPushingOutQueue<DataType>

    • Constructor Detail

      • BoundedPushingOutQueue

        public BoundedPushingOutQueue​(@NotNull
                                      Class<DataType> clazz,
                                      int bound)
      • BoundedPushingOutQueue

        public BoundedPushingOutQueue​(@NotNull
                                      Class<DataType> clazz,
                                      int bound,
                                      int initialSize)
    • 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()