com.netease.cloud.services.nos.transfer.internal.TransferProgressImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nos-sdk-java-publiccloud Show documentation
Show all versions of nos-sdk-java-publiccloud Show documentation
nos java sdk to the Central Repository
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