com.hazelcast.hibernate
Class HazelcastTimestamper

java.lang.Object
  extended by 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.


Method Summary
static long getMaxOperationTimeout(HazelcastInstance instance)
           
static int getTimeout(HazelcastInstance instance, String regionName)
           
static long nextTimestamp(HazelcastInstance instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.