Documentation ¶
Overview ¶
Package types contains various helper types.
Index ¶
- Constants
- type BitmapIndexOptions
- type Entry
- type IndexConfig
- type IndexType
- type SimpleEntryView
- func (s SimpleEntryView) Cost() int64
- func (s SimpleEntryView) CreationTime() int64
- func (s SimpleEntryView) ExpirationTime() int64
- func (s SimpleEntryView) Hits() int64
- func (s SimpleEntryView) Key() interface{}
- func (s SimpleEntryView) LastAccessTime() int64
- func (s SimpleEntryView) LastStoredTime() int64
- func (s SimpleEntryView) LastUpdateTime() int64
- func (s SimpleEntryView) MaxIdle() int64
- func (s SimpleEntryView) Ttl() int64
- func (s SimpleEntryView) Value() interface{}
- func (s SimpleEntryView) Version() int64
- type UUID
Constants ¶
View Source
const ( IndexTypeSorted = int32(0) IndexTypeHash = int32(1) IndexTypeBitmap = int32(2) )
View Source
const ( UniqueKeyTransformationObject = int32(0) UniqueKeyTransformationLong = int32(1) UniqueKeyTransformationRaw = int32(2) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitmapIndexOptions ¶
type IndexConfig ¶
type IndexConfig struct { Name string Attributes []string BitmapIndexOptions BitmapIndexOptions Type int32 }
type SimpleEntryView ¶
type SimpleEntryView struct {
// contains filtered or unexported fields
}
SimpleEntryView represents a readonly view of a map entry.
func NewSimpleEntryView ¶
func NewSimpleEntryView(key, value interface{}, cost, creationTime, expirationTime, hits, lastAccessTime, lastStoredTime, lastUpdateTime, version, ttl, maxIdle int64) *SimpleEntryView
func (SimpleEntryView) Cost ¶
func (s SimpleEntryView) Cost() int64
func (SimpleEntryView) CreationTime ¶
func (s SimpleEntryView) CreationTime() int64
func (SimpleEntryView) ExpirationTime ¶
func (s SimpleEntryView) ExpirationTime() int64
func (SimpleEntryView) Hits ¶
func (s SimpleEntryView) Hits() int64
func (SimpleEntryView) Key ¶
func (s SimpleEntryView) Key() interface{}
func (SimpleEntryView) LastAccessTime ¶
func (s SimpleEntryView) LastAccessTime() int64
func (SimpleEntryView) LastStoredTime ¶
func (s SimpleEntryView) LastStoredTime() int64
func (SimpleEntryView) LastUpdateTime ¶
func (s SimpleEntryView) LastUpdateTime() int64
func (SimpleEntryView) MaxIdle ¶
func (s SimpleEntryView) MaxIdle() int64
func (SimpleEntryView) Ttl ¶
func (s SimpleEntryView) Ttl() int64
func (SimpleEntryView) Value ¶
func (s SimpleEntryView) Value() interface{}
func (SimpleEntryView) Version ¶
func (s SimpleEntryView) Version() int64
type UUID ¶
type UUID struct {
// contains filtered or unexported fields
}
func NewUUIDWith ¶
func (UUID) LeastSignificantBits ¶
func (UUID) MostSignificantBits ¶
Click to show internal directories.
Click to hide internal directories.