public final class Surrogate extends Object._Impl
Object._Impl, Object._Proxy, Object._Static
Modifier and Type | Field and Description |
---|---|
long |
onum
The onum for the object being pointed to.
|
Store |
store
The store for the object being pointed to.
|
$accessPolicy, $cacheEntry, $class, $history, $isOwned, $numWaiting, $reader, $readMapEntry, $ref, $stackTrace, $updateLabel, $version, $writeLockHolder, $writeLockStackTrace, $writer, TRACE_OBJECTS, writerMapVersion
Constructor and Description |
---|
Surrogate(Store store,
long onum,
int version,
long expiry,
Store labelStore,
long labelOnum,
Store accessPolicyStore,
long accessPolicyOnum,
java.io.ObjectInput serializedInput,
java.util.Iterator<RefTypeEnum> refTypes,
java.util.Iterator<java.lang.Long> intraStoreRefs,
java.util.Iterator<Pair<java.lang.String,java.lang.Long>> interStoreRefs) |
Modifier and Type | Method and Description |
---|---|
protected Object._Proxy |
$makeProxy()
Subclasses should override this method.
|
void |
$serialize(java.io.ObjectOutput out,
java.util.List<RefTypeEnum> refTypes,
java.util.List<java.lang.Long> intraStoreRefs,
java.util.List<Pair<java.lang.String,java.lang.Long>> interStoreRefs)
Serializes the non-transient fields of this object.
|
_npe, $copyAppStateFrom, $copyStateFrom, $forceRenumber, $getClass, $getOnum, $getProxy, $getStore, $getVersion, $initLabels, $initPartitions, $readRef, $unwrap, $writeInline, $writeRef, clone, createStatistics, equals, equals, fabric$lang$Object$, fetch, get$$accessPolicy, get$$updateLabel, hashCode, idEquals, oidHashCode, oidHashCode, set$$accessPolicy, set$$updateLabel, toString
public final Store store
public final long onum
public Surrogate(Store store, long onum, int version, long expiry, Store labelStore, long labelOnum, Store accessPolicyStore, long accessPolicyOnum, java.io.ObjectInput serializedInput, java.util.Iterator<RefTypeEnum> refTypes, java.util.Iterator<java.lang.Long> intraStoreRefs, java.util.Iterator<Pair<java.lang.String,java.lang.Long>> interStoreRefs) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
protected Object._Proxy $makeProxy()
Object._Impl
$makeProxy
in class Object._Impl
public void $serialize(java.io.ObjectOutput out, java.util.List<RefTypeEnum> refTypes, java.util.List<java.lang.Long> intraStoreRefs, java.util.List<Pair<java.lang.String,java.lang.Long>> interStoreRefs)
Object._Impl
$serialize
in class Object._Impl
out
- An output stream for writing serialized primitive values and
inlined objects.refTypes
- A list to which RefTypeEnum
s will be written to
indicate the type of reference being serialized (e.g., null,
inlined, intraStore, interStore).intraStoreRefs
- A list to which onums denoting intra-store references will be
written.interStoreRefs
- A list to which global object names (hostname/onum pairs),
denoting inter-store references, will be written.