Groovy Documentation

org.hidetake.gradle.ssh.internal.operation
[Groovy] Class FileTransferLogger.Status

java.lang.Object
  org.hidetake.gradle.ssh.internal.operation.FileTransferLogger.Status

@TupleConstructor
static class FileTransferLogger.Status

Property Summary
long lastCheckPointTime

long maxSize

long startedTime

long transferredSize

 
Method Summary
void checkPoint()

static long currentTime()

long getElapsedTime()

long getElapsedTimeFromCheckPoint()

double getKiloBytesPerSecond()

double getPercent()

Status leftShift(long size)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

lastCheckPointTime

long lastCheckPointTime


maxSize

final long maxSize


startedTime

final long startedTime


transferredSize

long transferredSize


 
Method Detail

checkPoint

void checkPoint()


currentTime

static long currentTime()


getElapsedTime

long getElapsedTime()


getElapsedTimeFromCheckPoint

long getElapsedTimeFromCheckPoint()


getKiloBytesPerSecond

double getKiloBytesPerSecond()


getPercent

double getPercent()


leftShift

Status leftShift(long size)


 

Groovy Documentation