public abstract class Keyed<T extends Keyed> extends Iced<T>
Modifier and Type | Field and Description |
---|---|
Key<T> |
_key
Key mapping a Value which holds this object; may be null
|
Modifier and Type | Method and Description |
---|---|
protected long |
checksum_impl()
High-quality 64-bit checksum of the content of the object.
|
long |
checksum() |
java.lang.Class<? extends KeyV3> |
makeSchema() |
protected Keyed |
readAll_impl(AutoBuffer ab,
Futures fs) |
static Keyed |
readAll(AutoBuffer ab)
Read a Keyed object, and all nested Keys.
|
protected Futures |
remove_impl(Futures fs)
Override to remove subparts, but not self, of composite Keyed objects.
|
void |
remove()
Remove this Keyed object, and all subparts; blocking.
|
Futures |
remove(Futures fs)
Remove this Keyed object, and all subparts.
|
static void |
remove(Key k)
Remove this Keyed object, and all subparts; blocking.
|
static void |
remove(Key k,
Futures fs)
Remove this Keyed object, and all subparts.
|
protected AutoBuffer |
writeAll_impl(AutoBuffer ab) |
AutoBuffer |
writeAll(AutoBuffer ab)
Write this Keyed object, and all nested Keys.
|
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public final void remove()
public static void remove(Key k)
public AutoBuffer writeAll(AutoBuffer ab)
protected AutoBuffer writeAll_impl(AutoBuffer ab)
public static Keyed readAll(AutoBuffer ab)
protected Keyed readAll_impl(AutoBuffer ab, Futures fs)
protected long checksum_impl()
public final long checksum()
public java.lang.Class<? extends KeyV3> makeSchema()