Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListCacheImpl ¶
type ListCacheImpl[T any] struct { // contains filtered or unexported fields }
func NewListCacheImpl ¶
func NewListCacheImpl[T any]() ListCacheImpl[T]
func (*ListCacheImpl[T]) Cache ¶
func (c *ListCacheImpl[T]) Cache(t T)
func (*ListCacheImpl[T]) GetCached ¶
func (c *ListCacheImpl[T]) GetCached() []T
func (*ListCacheImpl[T]) IntervalBeforeFlush ¶
func (c *ListCacheImpl[T]) IntervalBeforeFlush() uint64
func (*ListCacheImpl[T]) MaxBufferSize ¶
func (c *ListCacheImpl[T]) MaxBufferSize() uint64
Click to show internal directories.
Click to hide internal directories.