org.eso.ias.utils

Members list

Type members

Classlikes

class CircularBuffer[T](maxBufferSize: Int)(implicit evidence$1: ClassTag[T])

A circular buffer of a fixed size backed by an Array.

A circular buffer of a fixed size backed by an Array.

The buffer does not allow to store null items.

The position to read and write elements in the buffer is stored in the readPointer and writePointer pointers (i.e. indexes of the array) to avoid moving objects from one position to another in the buffer.

The CircularBuffer is thread safe.

Type parameters

T

the type of the objects stored in the buffer

Value parameters

maxBufferSize

The max number of items to store in the circular buffer

Attributes

Since

13.0

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object ISO8601Helper

Helper methods to handle times formatted as 8601: YYYY-MM-DDTHH:MM:SS.mmm

Helper methods to handle times formatted as 8601: YYYY-MM-DDTHH:MM:SS.mmm

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type