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 Details

    • Helper

      public Helper()
  • Method Details

    • unwrap

      public static Throwable unwrap(Throwable throwable)
      Unwraps a potentially Coherence WrapperException or PortableException to produce the underlying Throwable.
      Parameters:
      throwable - the potentially wrapped exception (as a Throwable
      Returns:
      an unwrapped exception (as a Throwable
    • getCurrentTimeMillis

      public static long getCurrentTimeMillis()
      Common method for getting current time to make it easy to change time lookup.
      Returns:
      current time in milliseconds