Class Helper
- java.lang.Object
-
- com.tangosol.coherence.jcache.common.Helper
-
public class Helper extends Object
Helper methods for the Coherence JCache implementation.- Since:
- Coherence 12.1.3
- Author:
- bo 2013.11.11
-
-
Constructor Summary
Constructors Constructor Description Helper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longgetCurrentTimeMillis()Common method for getting current time to make it easy to change time lookup.static Throwableunwrap(Throwable throwable)Unwraps a potentially CoherenceWrapperExceptionorPortableExceptionto produce the underlyingThrowable.
-
-
-
Method Detail
-
unwrap
public static Throwable unwrap(Throwable throwable)
Unwraps a potentially CoherenceWrapperExceptionorPortableExceptionto 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
-
-