jnr.posix.JavaTimes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cassandra-driver Show documentation
Show all versions of cassandra-driver Show documentation
Shaded version of DataStax Java Driver for Apache Cassandra
package jnr.posix;
final class JavaTimes implements Times {
private static final long startTime = System.currentTimeMillis();
static final long HZ = 1000;
public long utime() {
return Math.max(System.currentTimeMillis() - startTime, 1);
}
public long stime() {
return 0;
}
public long cutime() {
return 0;
}
public long cstime() {
return 0;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy