View Javadoc

1   package com.atlassian.vcache;
2   
3   import java.io.Serializable;
4   
5   import com.atlassian.annotations.PublicApi;
6   
7   /**
8    * Represents an identifier for use in compare-and-swap operations. The instance may be serialized if the instance
9    * needs to be stored across requests. Use {@link Object#equals(Object)} to compare two instances for equality.
10   *
11   * @since 1.0
12   */
13  @PublicApi
14  public interface CasIdentifier extends Serializable
15  {
16  }