java - How add asynchronously version SimpleCassandraRepository to spring data cassanbdra? -
spring data cassandra project has org.springframework.data.cassandra.repository.support.simplecassandrarepository class resolving cassandra repositories.
what want:
- create "general" interface exmaple
asynccassandrarepository
org.springframework.data.cassandra.repository.typedidcassandrarepository
asynchronous methods. - create implementation interface - org.springframework.data.cassandra.repository.support.simplecassandrarepository, asynchronous methods.
- then create new asynchronous repositories other domain entities extends async inteface e.g.
customerrepository extends asynccassandrarepository
. no new implementation needed.
so idea create new async interface , implementation , used everywhere. simplecassandrarepository itseft simple, no problem create new async version.
the real problem "register" new async interface , implementation spring data cassandra depths. how can that?
there jira task in spring data cassandra project:
Comments
Post a Comment