Package org.infinispan.server.core

Examples of org.infinispan.server.core.ServerEntryVersion


   @Override
   public InternalCacheEntry load(Object key) throws CacheLoaderException {
      if (config.isRawValues()) {
         MetadataValue<?> value = remoteCache.getWithMetadata(key);
         if (value != null)
            return iceFactory.create(key, value.getValue(), new ServerEntryVersion(value.getVersion()),
                  value.getCreated(), TimeUnit.SECONDS.toMillis(value.getLifespan()),
                  value.getLastUsed(), TimeUnit.SECONDS.toMillis(value.getMaxIdle()));
         else
            return null;
      } else {
View Full Code Here

TOP

Related Classes of org.infinispan.server.core.ServerEntryVersion

Copyright © 2018 www.massapicom. 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.