All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netease.cloud.services.nos.transfer.internal.TransferProgressImpl Maven / Gradle / Ivy

The newest version!
package com.netease.cloud.services.nos.transfer.internal;

import com.netease.cloud.services.nos.transfer.TransferProgress;

public class TransferProgressImpl extends TransferProgress {
    
    public synchronized void updateProgress(long bytes) {
        this.bytesTransfered += bytes;
    }

    public void setBytesTransfered(long bytesTransfered) {
        this.bytesTransfered = bytesTransfered;
    }

    public void setTotalBytesToTransfer(long totalBytesToTransfer) {
        this.totalBytesToTransfer = totalBytesToTransfer;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy