public static class Object._Proxy extends java.lang.Object implements Object
Object._Impl, Object._Proxy, Object._Static
Constructor and Description |
---|
_Proxy(Object._Impl impl) |
_Proxy(Store store,
long onum) |
Modifier and Type | Method and Description |
---|---|
static void |
_npe(Label lbl)
A dummy method.
|
void |
$forceRenumber(long onum)
Deprecated.
|
long |
$getOnum()
The object's onum.
|
Object._Proxy |
$getProxy() |
static java.lang.Object |
$getProxy(java.lang.Object o) |
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(java.lang.Object arg1)
A delegate for the default equals implementation.
|
boolean |
equals(Object arg1)
A delegate for the default equals implementation.
|
Object |
fabric$lang$Object$()
Calls $initLabels
|
Object._Impl |
fetch()
Fetches the object if this is a proxy; returns itself if it's an impl.
|
ObjectCache.Entry |
fetchEntry()
Ensures the object is resident in memory and returns its cache entry.
|
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.
|
int |
hashCode()
A delegate for the default hashcode implementation.
|
boolean |
idEquals(Object other)
Whether this object has the same identity as another object.
|
static boolean |
idEquals(java.lang.Object o1,
java.lang.Object o2)
return true if o1 and o2 are objects with the same identity.
|
int |
oidHashCode()
A hash of the object's oid.
|
static int |
oidHashCode(Object o)
This static version of oidHashCode is to be used by Fabric programs.
|
ConfPolicy |
set$$accessPolicy(ConfPolicy policy) |
Label |
set$$updateLabel(Label label) |
java.lang.String |
toString()
A delegate for the default toString implementation.
|
public _Proxy(Store store, long onum)
public _Proxy(Object._Impl impl)
public final Object._Impl fetch()
Object
public final ObjectCache.Entry fetchEntry()
public final Store $getStore()
Object
public final long $getOnum()
Object
public final boolean idEquals(Object other)
Object
public final int oidHashCode()
Object
oidHashCode
in interface Object
public static int oidHashCode(Object o)
o
to prevent the Fabric type
system from thinking the object will be fetched, when it really won't be.public final Label get$$updateLabel()
Object
get$$updateLabel
in interface Object
public final Label set$$updateLabel(Label label)
set$$updateLabel
in interface Object
public final ConfPolicy get$$accessPolicy()
Object
get$$accessPolicy
in interface Object
public final ConfPolicy set$$accessPolicy(ConfPolicy policy)
set$$accessPolicy
in interface Object
public Object $initLabels()
Object
$initLabels
in interface Object
public void $initPartitions()
Object
$initPartitions
in interface Object
public Object fabric$lang$Object$()
Object
fabric$lang$Object$
in interface Object
public final Object._Proxy $getProxy()
public final java.lang.Object $unwrap()
Object
public static final java.lang.Object $getProxy(java.lang.Object o)
public static final boolean idEquals(java.lang.Object o1, java.lang.Object o2)
public boolean equals(java.lang.Object arg1)
equals
in class java.lang.Object
public boolean equals(Object arg1)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
@Deprecated public final 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).
$forceRenumber
in interface Object
public Statistics createStatistics()
Object
createStatistics
in interface Object
public static void _npe(Label lbl) throws java.lang.NullPointerException
java.lang.NullPointerException