FileDocCategorySizeDatePackage
SyncStats.javaAPI DocAndroid 1.5 API3568Wed May 06 22:41:54 BST 2009android.content

SyncStats

public class SyncStats extends Object implements android.os.Parcelable
hide

Fields Summary
public long
numAuthExceptions
public long
numIoExceptions
public long
numParseExceptions
public long
numConflictDetectedExceptions
public long
numInserts
public long
numUpdates
public long
numDeletes
public long
numEntries
public long
numSkippedEntries
public static final Creator
CREATOR
Constructors Summary
public SyncStats()

        numAuthExceptions = 0;
        numIoExceptions = 0;
        numParseExceptions = 0;
        numConflictDetectedExceptions = 0;
        numInserts = 0;
        numUpdates = 0;
        numDeletes = 0;
        numEntries = 0;
        numSkippedEntries = 0;
    
public SyncStats(android.os.Parcel in)

        numAuthExceptions = in.readLong();
        numIoExceptions = in.readLong();
        numParseExceptions = in.readLong();
        numConflictDetectedExceptions = in.readLong();
        numInserts = in.readLong();
        numUpdates = in.readLong();
        numDeletes = in.readLong();
        numEntries = in.readLong();
        numSkippedEntries = in.readLong();
    
Methods Summary
public voidclear()

        numAuthExceptions = 0;
        numIoExceptions = 0;
        numParseExceptions = 0;
        numConflictDetectedExceptions = 0;
        numInserts = 0;
        numUpdates = 0;
        numDeletes = 0;
        numEntries = 0;
        numSkippedEntries = 0;
    
public intdescribeContents()

        return 0;
    
public java.lang.StringtoString()

        StringBuilder sb = new StringBuilder();
        sb.append("numAuthExceptions: ").append(numAuthExceptions);
        sb.append(" numIoExceptions: ").append(numIoExceptions);
        sb.append(" numParseExceptions: ").append(numParseExceptions);
        sb.append(" numConflictDetectedExceptions: ").append(numConflictDetectedExceptions);
        sb.append(" numInserts: ").append(numInserts);
        sb.append(" numUpdates: ").append(numUpdates);
        sb.append(" numDeletes: ").append(numDeletes);
        sb.append(" numEntries: ").append(numEntries);
        sb.append(" numSkippedEntries: ").append(numSkippedEntries);
        return sb.toString();
    
public voidwriteToParcel(android.os.Parcel dest, int flags)

        dest.writeLong(numAuthExceptions);
        dest.writeLong(numIoExceptions);
        dest.writeLong(numParseExceptions);
        dest.writeLong(numConflictDetectedExceptions);
        dest.writeLong(numInserts);
        dest.writeLong(numUpdates);
        dest.writeLong(numDeletes);
        dest.writeLong(numEntries);
        dest.writeLong(numSkippedEntries);