Interface ModelRoot<T>

Type Parameters:
T - the type of the underlying domain object
All Superinterfaces:
Entity<T>, PersistedRoot<T>
All Known Implementing Classes:
ImmutableModelRoot

public interface ModelRoot<T> extends PersistedRoot<T>
Root wrapper for an independently persisted Model revision.
  • Method Details

    • stateIndex

      default long stateIndex()
      Opaque, time-derived namespace-wide state boundary at which this model revision became current. Callers may compare boundaries and decode their approximate timestamp with IndexUtils.timestampFromIndex(long), but must not assume dense adjacency.