public class SyncOperation extends Object implements Comparable
Modifier and Type | Field and Description |
---|---|
Account |
account |
boolean |
allowParallelSyncs |
String |
authority |
Long |
backoff |
long |
delayUntil |
long |
earliestRunTime |
long |
effectiveRunTime |
boolean |
expedited |
Bundle |
extras |
String |
key |
SyncStorageEngine.PendingOperation |
pendingOperation |
int |
syncSource |
int |
userId |
Constructor and Description |
---|
SyncOperation(Account account,
int userId,
int source,
String authority,
Bundle extras,
long delayInMs,
long backoff,
long delayUntil,
boolean allowParallelSyncs) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o)
Compares this object to the specified object to determine their relative
order.
|
String |
dump(boolean useOneLine) |
static void |
extrasToStringBuilder(Bundle bundle,
StringBuilder sb) |
boolean |
ignoreBackoff() |
boolean |
isExpedited() |
boolean |
isInitialization() |
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
void |
updateEffectiveRunTime() |
public final Account account
public final int userId
public int syncSource
public String authority
public final boolean allowParallelSyncs
public Bundle extras
public final String key
public long earliestRunTime
public boolean expedited
public SyncStorageEngine.PendingOperation pendingOperation
public Long backoff
public long delayUntil
public long effectiveRunTime
public String toString()
Object
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.
public String dump(boolean useOneLine)
public boolean isInitialization()
public boolean isExpedited()
public boolean ignoreBackoff()
public static void extrasToStringBuilder(Bundle bundle, StringBuilder sb)
public void updateEffectiveRunTime()
public int compareTo(Object o)
Comparable
compareTo
in interface Comparable
o
- the object to compare to this instance.another
;
a positive integer if this instance is greater than
another
; 0 if this instance has the same order as
another
.