- All Implemented Interfaces:
- java.lang.Cloneable, Freezable
- Direct Known Subclasses:
- Frame, Model
public abstract class Lockable<T extends Lockable<T>>
extends Keyed
Lockable Keys - locked during long running jobs, to prevent overwriting
in-use keys. e.g. model-building: expected to read-lock input ValueArray
and Frames, and write-lock the output Model. Parser should write-lock the
output VA/Frame, to guard against double-parsing.
Supports:
lock-and-delete-old-and-update (for new Keys)
lock-and-delete (for removing old Keys)
unlock