Interface CoherenceRepositoryOperations

All Superinterfaces:
io.micronaut.context.ApplicationContextProvider, io.micronaut.data.operations.async.AsyncCapableRepository, io.micronaut.core.convert.ConversionServiceProvider, io.micronaut.data.operations.HintsCapableRepository, io.micronaut.data.operations.RepositoryOperations
All Known Implementing Classes:
DefaultCoherenceRepositoryOperations

public interface CoherenceRepositoryOperations extends io.micronaut.data.operations.async.AsyncCapableRepository
Exposes repository operations specific to Coherence.
  • Method Summary

    Modifier and Type
    Method
    Description
    <ID, T> ID
    getId(T entity)
    Return the id associated with the specified entity.
    <ID, T> com.tangosol.net.NamedMap<ID,T>
    Obtain the NamedMap associated with this repository.

    Methods inherited from interface io.micronaut.context.ApplicationContextProvider

    getApplicationContext

    Methods inherited from interface io.micronaut.data.operations.async.AsyncCapableRepository

    async

    Methods inherited from interface io.micronaut.core.convert.ConversionServiceProvider

    getConversionService

    Methods inherited from interface io.micronaut.data.operations.HintsCapableRepository

    getQueryHints

    Methods inherited from interface io.micronaut.data.operations.RepositoryOperations

    count, delete, deleteAll, executeDelete, executeUpdate, exists, findAll, findAll, findOne, findOne, findPage, findStream, findStream, getEntity, persist, persistAll, update, updateAll
  • Method Details

    • getNamedMap

      <ID, T> com.tangosol.net.NamedMap<ID,T> getNamedMap()
      Obtain the NamedMap associated with this repository.
      Type Parameters:
      ID - the type of the entity id
      T - the entity type
      Returns:
      the NamedMap associated this this repository
    • getId

      <ID, T> ID getId(T entity)
      Return the id associated with the specified entity.
      Type Parameters:
      ID - the type of the entity id
      T - the entity type
      Parameters:
      entity - the entity to interrogate
      Returns:
      the id associated with the specified entity