public static final long waitForExpiryClockToChange(final LocalRegion cacheTimeMillisSource,final long baseTime){
  long nowTime;
  do {
    Thread.yield();
    nowTime=cacheTimeMillisSource.cacheTimeMillis();
  }
 while ((nowTime - baseTime) <= 0L);
  return nowTime;
}

public static final long waitForExpiryClockToChange ( final LocalRegion cacheTimeMillisSource , final long baseTime ) { long nowTime ; do { Thread . yield ( ) ; nowTime = cacheTimeMillisSource . cacheTimeMillis ( ) ; } while ( ( nowTime - baseTime ) <= 0L ) ; return nowTime ; }
blocks until the clock used for expiration moves forward .
