Interface CoherenceAsyncRepositoryOperations

  • All Superinterfaces:
    io.micronaut.data.operations.async.AsyncRepositoryOperations

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <ID,​T>
      com.tangosol.net.AsyncNamedMap<ID,​T>
      getAsyncNamedMap()
      Obtain the AsyncNamedMap associated with this repository.
      <ID,​T>
      ID
      getId​(T entity)
      Return the id associated with the specified entity.
      • Methods inherited from interface io.micronaut.data.operations.async.AsyncRepositoryOperations

        count, delete, deleteAll, executeDelete, executeUpdate, exists, findAll, findAll, findOne, findOne, findOptional, findOptional, findPage, getExecutor, persist, persistAll, update, updateAll
    • Method Detail

      • getAsyncNamedMap

        <ID,​T> com.tangosol.net.AsyncNamedMap<ID,​T> getAsyncNamedMap()
        Obtain the AsyncNamedMap associated with this repository.
        Type Parameters:
        ID - the type of the entity id
        T - the entity type
        Returns:
        the AsyncNamedMap 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