public final class ProxyState<E extends RealmModel>
extends java.lang.Object
RealmObjectProxy
interface, to eliminate copying logic between
RealmObject
and DynamicRealmObject
.Constructor and Description |
---|
ProxyState() |
ProxyState(java.lang.Class<? extends RealmModel> clazzName,
E model) |
ProxyState(E model) |
Modifier and Type | Method and Description |
---|---|
java.util.List<RealmChangeListener<E>> |
getListeners$realm() |
java.lang.Object |
getPendingQuery$realm() |
io.realm.BaseRealm |
getRealm$realm() |
Row |
getRow$realm() |
boolean |
isCompleted$realm() |
boolean |
onCompleted$realm()
Called to import the handover row pointer and notify listeners.
|
void |
onCompleted$realm(long handoverRowPointer) |
void |
setClassName(java.lang.String className) |
void |
setPendingQuery$realm(java.util.concurrent.Future<java.lang.Long> pendingQuery)
Sets the Future instance returned by the worker thread, we need this instance to force
RealmObject.load() an async
query, we use it to determine if the current RealmResults is a sync or async one. |
void |
setRealm$realm(io.realm.BaseRealm realm) |
void |
setRow$realm(Row row) |
void |
setTableVersion$realm() |
public ProxyState()
public ProxyState(E model)
public ProxyState(java.lang.Class<? extends RealmModel> clazzName, E model)
public void setPendingQuery$realm(java.util.concurrent.Future<java.lang.Long> pendingQuery)
RealmObject.load()
an async
query, we use it to determine if the current RealmResults is a sync or async one.pendingQuery
- pending query.public io.realm.BaseRealm getRealm$realm()
public void setRealm$realm(io.realm.BaseRealm realm)
public Row getRow$realm()
public void setRow$realm(Row row)
public java.lang.Object getPendingQuery$realm()
public boolean isCompleted$realm()
public boolean onCompleted$realm()
true
if it successfully completed the query, false
otherwise.public java.util.List<RealmChangeListener<E>> getListeners$realm()
public void onCompleted$realm(long handoverRowPointer)
public void setTableVersion$realm()
public void setClassName(java.lang.String className)