public interface Object
Modifier and Type | Interface and Description |
---|---|
static class |
Object._Impl
_Impl objects hold the actual code and data of Fabric objects and may be
evicted from memory.
|
static class |
Object._Proxy
_Proxy objects behave like regular objects by delegating to _Impl objects,
pointed to by a soft reference.
|
static interface |
Object._Static
_Static objects hold all static state for the class.
|
Modifier and Type | Method and Description |
---|---|
void |
$forceRenumber(long onum)
Deprecated.
|
long |
$getOnum()
The object's onum.
|
Object._Proxy |
$getProxy() |
Store |
$getStore()
The store where the object resides.
|
Object |
$initLabels()
Initializes the object's update label and access policy.
|
void |
$initPartitions()
Initializes the object's partitions (if any) by calling their initializer
methods.
|
java.lang.Object |
$unwrap()
Unwraps a wrapped Java inlineable.
|
Statistics |
createStatistics()
Creates a Statistics object to determine promises for this Object.
|
boolean |
equals(Object o)
Whether this object is "equal" to another object.
|
Object |
fabric$lang$Object$()
Calls $initLabels
|
Object |
fetch()
Fetches the object if this is a proxy; returns itself if it's an impl.
|
ConfPolicy |
get$$accessPolicy()
The object's access policy, specifying the program contexts in which it is
safe to use this object.
|
Label |
get$$updateLabel()
The label that protects this object at run time.
|
boolean |
idEquals(Object o)
Whether this object has the same identity as another object.
|
int |
oidHashCode()
A hash of the object's oid.
|
ConfPolicy |
set$$accessPolicy(ConfPolicy policy) |
Label |
set$$updateLabel(Label label) |
Store $getStore()
long $getOnum()
Object._Proxy $getProxy()
Label get$$updateLabel()
Label set$$updateLabel(Label label)
ConfPolicy get$$accessPolicy()
ConfPolicy set$$accessPolicy(ConfPolicy policy)
Object fabric$lang$Object$()
Object $initLabels()
void $initPartitions()
boolean equals(Object o)
boolean idEquals(Object o)
int oidHashCode()
java.lang.Object $unwrap()
Object fetch()
@Deprecated void $forceRenumber(long onum)
This method changes the onum of the object. Unless if you really know what you're doing, you should not call this, as it leaves the system in an inconsistent state.
This method is used to initialize object databases with objects at well-known onums (e.g., naming map and store principal).
Statistics createStatistics()