com.hazelcast.hibernate
Class HazelcastTimestamper
java.lang.Object
com.hazelcast.hibernate.HazelcastTimestamper
public final class HazelcastTimestamper
- extends Object
Helper class to create timestamps and calculate timeouts based on either Hazelcast
configuration of by requesting values on the cluster.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextTimestamp
public static long nextTimestamp(HazelcastInstance instance)
getTimeout
public static int getTimeout(HazelcastInstance instance,
String regionName)
getMaxOperationTimeout
public static long getMaxOperationTimeout(HazelcastInstance instance)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.