|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Object
All Fabric objects implement this interface.
Nested Class Summary | |
---|---|
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. |
Method Summary | |
---|---|
void |
$forceRenumber(long onum)
Deprecated. |
long |
$getOnum()
The object's onum. |
Object._Proxy |
$getProxy()
A proxy for this object. |
Store |
$getStore()
The store where the object resides. |
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 |
fetch()
Fetches the object if this is a proxy; returns itself if it's an impl. |
Label |
get$label()
Label for this object |
boolean |
idEquals(Object o)
Whether this object has the same identity as another object. |
Method Detail |
---|
Store $getStore()
long $getOnum()
Object._Proxy $getProxy()
Label get$label()
boolean equals(Object o)
boolean idEquals(Object o)
java.lang.Object $unwrap()
Object fetch()
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |