Examples of SecondLevelCacheStatistics


Examples of org.hibernate.stat.SecondLevelCacheStatistics

        }
      }
    }

    // check the version value in the cache...
    SecondLevelCacheStatistics slcs = sfi().getStatistics()
        .getSecondLevelCacheStatistics( VersionedItem.class.getName() );

    Object entry = slcs.getEntries().get( item.getId() );
    Long cachedVersionValue;
    if ( entry instanceof ReadWriteCache.Lock ) {
      //FIXME don't know what to test here
      cachedVersionValue = new Long( ( (ReadWriteCache.Lock) entry).getUnlockTimestamp() );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.