下面列出了org.hibernate.cache.Timestamper#next ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
/**
* Generate a timestamp
*/
public long nextTimestamp() {
// REVIEWME: [email protected] - 2008-01-22 -
// consider effect of this time stamping mechanism on
// clustered caches.
return Timestamper.next();
}
/**
* Generate a timestamp
*/
public long nextTimestamp() {
// REVIEWME: simeshev - 2008-02-17 - Currently it uses
// local time stamper. Consider effect of it in a
// clustered environment.
return Timestamper.next();
}
@Override
public long nextTimestamp() {
return Timestamper.next();
}
@Override
public long nextTimestamp() {
return Timestamper.next();
}
/**
* Returns the next timestamp.
*/
public final long nextTimestamp() {
return Timestamper.next();
}