Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoSpace = errors.New("buffer: no space left")
)
Functions ¶
func NodeStateString ¶
Types ¶
type IEvictHandle ¶
type IMemoryNode ¶
type INode ¶
type INode interface {
sync.Locker
io.Closer
common.IRef
RLock()
RUnlock()
GetID() common.ID
Unload()
Unloadable() bool
IsLoaded() bool
Load()
MakeHandle() INodeHandle
Destroy()
Size() uint64
Iteration() uint64
IncIteration() uint64
IsClosed() bool
GetState() NodeState
Expand(uint64, func() error) error
}
type INodeManager ¶
type ISizeLimiter ¶
type MemoryFreeFunc ¶
type MemoryFreeFunc func(IMemoryNode)
Click to show internal directories.
Click to hide internal directories.