Package io.micronaut.coherence.data.ops
Interface CoherenceRepositoryOperations
-
- All Superinterfaces:
io.micronaut.context.ApplicationContextProvider
,io.micronaut.data.operations.async.AsyncCapableRepository
,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
Exposesrepository
operations specific to Coherence.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <ID,T>
IDgetId(T entity)
Return the id associated with the specified entity.<ID,T>
com.tangosol.net.NamedMap<ID,T>getNamedMap()
Obtain theNamedMap
associated with thisrepository
.
-
-
-
Method Detail
-
getNamedMap
<ID,T> com.tangosol.net.NamedMap<ID,T> getNamedMap()
Obtain theNamedMap
associated with thisrepository
.- Type Parameters:
ID
- the type of the entity idT
- the entity type- Returns:
- the
NamedMap
associated this thisrepository
-
getId
<ID,T> ID getId(T entity)
Return the id associated with the specified entity.- Type Parameters:
ID
- the type of the entity idT
- the entity type- Parameters:
entity
- the entity to interrogate- Returns:
- the id associated with the specified entity
-
-