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.
|
protected long |
checksum_impl(boolean noCache) |
long |
checksum() |
long |
checksum(boolean noCache) |
Key<T> |
getKey() |
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)
Deprecated.
Better override
remove_impl(Futures, boolean) instead |
protected Futures |
remove_impl(Futures fs,
boolean cascade)
Override to remove subparts, but not self, of composite Keyed objects.
|
protected Futures |
remove_self_key_impl(Futures fs)
Remove my own key from DKV.
|
void |
remove()
Remove this Keyed object, and all subparts; blocking.
|
void |
remove(boolean cascade)
Remove this Keyed object, including all subparts if cascade = true; blocking.
|
Futures |
remove(Futures fs)
Remove this Keyed object, and all subparts.
|
Futures |
remove(Futures fs,
boolean cascade)
Remove this Keyed object, including all subparts if cascade = true.
|
static void |
remove(Key k)
Removes the Keyed object associated to the key, and all subparts; blocking.
|
static Futures |
remove(Key k,
Futures fs,
boolean cascade)
Remove the Keyed object associated to the key, and all subparts.
|
static void |
removeQuietly(Key k) |
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, toJsonBytes, toJsonString, write, writeExternal, writeJSON
public final void remove()
public final void remove(boolean cascade)
public final Futures remove(Futures fs, boolean cascade)
@Deprecated protected Futures remove_impl(Futures fs)
remove_impl(Futures, boolean)
insteadpublic static void remove(Key k)
public static void removeQuietly(Key k)
public static Futures remove(Key k, Futures fs, boolean cascade)
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()
protected long checksum_impl(boolean noCache)
public final long checksum()
public final long checksum(boolean noCache)
public java.lang.Class<? extends KeyV3> makeSchema()