All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.client.hotrod.impl.VersionedValueImpl Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.client.hotrod.impl;

import org.infinispan.client.hotrod.VersionedValue;

/**
 * @author [email protected]
 * @since 4.1
 */
public class VersionedValueImpl implements VersionedValue {

   private long version;

   private V value;

   public VersionedValueImpl(long version, V value) {
      this.version = version;
      this.value = value;
   }

   @Override
   public long getVersion() {
      return version;
   }

   @Override
   public V getValue() {
      return value;
   }

   @Override
   public String toString() {
      return "VersionedValueImpl{" +
            "version=" + version +
            ", value=" + value +
            '}';
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy