public abstract static class RecordToIDMap.WriteAccessor extends Object
NOTE: From a thread safety standpoint, it is unsafe to
have multiple WriteAccessors
in different threads that reference a single
RecordToIDMap
.
Modifier and Type | Method and Description |
---|---|
abstract void |
commit()
Commits the current value to the location returned by
getOrCreateID in the event of a cache flush.
|
abstract int |
getOrCreateID()
Returns the ID corresponding to the current record, allocating
a new ID if not found.
|
public abstract int getOrCreateID()
-(id+1)
in the event that there
is no more room in the cache, where id
is the
id of the LRU item.public abstract void commit()
Copyright © 2016 Actian Corporation. All rights reserved.