CleaningStatus.smali

.class public Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;
.super Ljava/lang/Object;
.source "CleaningStatus.java"


# instance fields
.field private volatile mCurCleanedFileCount:J

.field private volatile mSysCleanedFileCount:J

.field private volatile mSysEstimateFileCount:J

.field private volatile mTotalFileCount:J


# direct methods
.method public constructor <init>()V
    .registers 3

    .prologue
    const-wide/16 v0, 0x0

    .line 12
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 13
    iput-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mTotalFileCount:J

    .line 14
    iput-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mCurCleanedFileCount:J

    .line 16
    iput-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mSysEstimateFileCount:J

    .line 17
    iput-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mSysCleanedFileCount:J

    return-void
.end method


# virtual methods
.method public declared-synchronized addCleanedFileCount(J)V
    .registers 8

    .prologue
    .line 43
    monitor-enter p0

    :try_start_1
    iget-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mTotalFileCount:J

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-eqz v0, :cond_e

    .line 44
    iget-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mCurCleanedFileCount:J

    add-long/2addr v0, p1

    iput-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mCurCleanedFileCount:J
    :try_end_e
    .catchall {:try_start_1 .. :try_end_e} :catchall_10

    .line 47
    :cond_e
    monitor-exit p0

    return-void

    .line 43
    :catchall_10
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public getCleanedFileCount()J
    .registers 3

    .prologue
    .line 31
    iget-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mCurCleanedFileCount:J

    return-wide v0
.end method

.method public getSysCleanedFileCount()J
    .registers 3

    .prologue
    .line 39
    iget-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mSysCleanedFileCount:J

    return-wide v0
.end method

.method public getSysEstimateFileCount()J
    .registers 3

    .prologue
    .line 35
    iget-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mSysEstimateFileCount:J

    return-wide v0
.end method

.method public getTotalFileCount()J
    .registers 3

    .prologue
    .line 27
    iget-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mTotalFileCount:J

    return-wide v0
.end method

.method public init(Ljava/util/Map;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Lcom/cm/plugincluster/junkengine/junk/engine/IJunkRequest$EM_JUNK_DATA_TYPE;",
            "Ljava/util/List",
            "<",
            "Lcom/cm/plugincluster/junkengine/junk/bean/JunkInfoBase;",
            ">;>;)V"
        }
    .end annotation

    .prologue
    const-wide/16 v0, 0x0

    .line 20
    iput-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mTotalFileCount:J

    .line 21
    iput-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mCurCleanedFileCount:J

    .line 22
    iput-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mSysEstimateFileCount:J

    .line 23
    iput-wide v0, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mSysCleanedFileCount:J

    .line 24
    return-void
.end method

.method public setSysCleanedFileCount(J)V
    .registers 4

    .prologue
    .line 54
    iput-wide p1, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mSysCleanedFileCount:J

    .line 55
    return-void
.end method

.method public setSysEstimateFileCount(J)V
    .registers 4

    .prologue
    .line 50
    iput-wide p1, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mSysEstimateFileCount:J

    .line 51
    return-void
.end method

.method public setTotalFileCount(J)V
    .registers 4

    .prologue
    .line 58
    iput-wide p1, p0, Lcom/cm/plugincluster/junkengine/junk/engine/CleaningStatus;->mTotalFileCount:J

    .line 59
    return-void
.end method