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

org.infinispan.container.entries.versioned.Versioned Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.container.entries.versioned;

import org.infinispan.container.versioning.EntryVersion;

/**
 * An interface that marks the ability to handle versions
 *
 * @author Manik Surtani
 * @since 5.1
 */
public interface Versioned {

   /**
    * @return the version of the entry.  May be null if versioning is not supported, and must never be null if
    *         versioning is supported.
    */
   EntryVersion getVersion();

   /**
    * Sets the version on this entry.
    *
    * @param version version to set
    */
   void setVersion(EntryVersion version);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy