Class Helper
java.lang.Object
com.tangosol.coherence.jcache.common.Helper
Helper methods for the Coherence JCache implementation.
- Since:
- Coherence 12.1.3
- Author:
- bo 2013.11.11
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
Common method for getting current time to make it easy to change time lookup.static Throwable
Unwraps a potentially CoherenceWrapperException
orPortableException
to produce the underlyingThrowable
.
-
Constructor Details
-
Helper
public Helper()
-
-
Method Details
-
unwrap
Unwraps a potentially CoherenceWrapperException
orPortableException
to produce the underlyingThrowable
. -
getCurrentTimeMillis
public static long getCurrentTimeMillis()Common method for getting current time to make it easy to change time lookup.- Returns:
- current time in milliseconds
-