public static class _longArray._Impl extends Object._Impl implements _longArray, _InternalArrayImpl
_longArray._Impl, _longArray._Proxy
Object._Static
$accessPolicy, $cacheEntry, $class, $history, $isOwned, $numWaiting, $reader, $readMapEntry, $ref, $stackTrace, $updateLabel, $version, $writeLockHolder, $writeLockStackTrace, $writer, TRACE_OBJECTS, writerMapVersion
Constructor and Description |
---|
_Impl(Store store) |
_Impl(Store store,
long onum,
int version,
long expiry,
Store labelStore,
long labelOnum,
Store accessPolicyStore,
long accessPolicyOnum,
java.io.ObjectInput in,
java.util.Iterator<RefTypeEnum> refTypes,
java.util.Iterator<java.lang.Long> intraStoreRefs,
java.util.Iterator<Pair<java.lang.String,java.lang.Long>> interStoreRefs)
Used for deserializing.
|
Modifier and Type | Method and Description |
---|---|
void |
$copyAppStateFrom(Object._Impl other)
This copies the application state of the object.
|
Object |
$initLabels()
Initializes the object's update label and access policy.
|
protected _longArray._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.
|
void |
cloneValues() |
_longArray |
fabric$lang$arrays$internal$_longArray$(Label updateLabel,
ConfPolicy accessPolicy,
int length)
Creates a new long array at the given Store with the given length.
|
_longArray |
fabric$lang$arrays$internal$_longArray$(Label updateLabel,
ConfPolicy accessPolicy,
long[] value)
Creates a new long array at the given Store using the given backing
array.
|
long |
get(int i) |
int |
get$length() |
long |
set(int i,
long value) |
_npe, $copyStateFrom, $forceRenumber, $getClass, $getOnum, $getProxy, $getStore, $getVersion, $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
finalize, getClass, notify, notifyAll, wait, wait, wait
$forceRenumber, $getOnum, $getProxy, $getStore, $initPartitions, $unwrap, createStatistics, equals, fabric$lang$Object$, fetch, get$$accessPolicy, get$$updateLabel, idEquals, oidHashCode, set$$accessPolicy, set$$updateLabel
public _Impl(Store store)
public _Impl(Store store, long onum, int version, long expiry, Store labelStore, long labelOnum, Store accessPolicyStore, long accessPolicyOnum, java.io.ObjectInput in, 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
public _longArray fabric$lang$arrays$internal$_longArray$(Label updateLabel, ConfPolicy accessPolicy, int length)
fabric$lang$arrays$internal$_longArray$
in interface _longArray
store
- The store on which to allocate the array.length
- The length of the array.public _longArray fabric$lang$arrays$internal$_longArray$(Label updateLabel, ConfPolicy accessPolicy, long[] value)
fabric$lang$arrays$internal$_longArray$
in interface _longArray
store
- The store on which to allocate the array.value
- The backing array to use.public int get$length()
get$length
in interface _longArray
public long get(int i)
get
in interface _longArray
public long set(int i, long value)
set
in interface _longArray
public void $copyAppStateFrom(Object._Impl other)
Object._Impl
super.copyAppStateFrom(other)
.$copyAppStateFrom
in class Object._Impl
public void cloneValues()
cloneValues
in interface _InternalArrayImpl
protected _longArray._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) throws java.io.IOException
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.java.io.IOException
public Object $initLabels()
Object
$initLabels
in interface Object
$initLabels
in class Object._Impl