Class InMemoryStoredEventRepository

java.lang.Object
com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository<StoredEvent,Long>
com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository<StoredEvent,Long>
com.reallifedeveloper.common.application.eventstore.InMemoryStoredEventRepository
All Implemented Interfaces:
StoredEventRepository, Repository<StoredEvent,Long>, org.springframework.data.jpa.repository.JpaRepository<StoredEvent,Long>, org.springframework.data.repository.CrudRepository<StoredEvent,Long>, org.springframework.data.repository.ListCrudRepository<StoredEvent,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<StoredEvent,Long>, org.springframework.data.repository.PagingAndSortingRepository<StoredEvent,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<StoredEvent>, org.springframework.data.repository.Repository<StoredEvent,Long>

public class InMemoryStoredEventRepository extends com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository<StoredEvent,Long> implements StoredEventRepository
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    allEventsBetween(long firstStoredEventId, long lastStoredEventId)
     
    allEventsSince(long storedEventId)
     
     

    Methods inherited from class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, findBy, flush, getById, getIdClass, getOne, getReferenceById, isIdField, isIdMethod, saveAllAndFlush, saveAndFlush

    Methods inherited from class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository

    count, count, delete, deleteAll, deleteAll, deleteAllById, deleteById, exists, existsById, finalize, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findByField, findById, findByUniqueField, findOne, getId, save, saveAll, setId, toString

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteInBatch, findAll, findAll

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findOne

    Methods inherited from interface com.reallifedeveloper.common.domain.Repository

    findById

    Methods inherited from interface com.reallifedeveloper.common.application.eventstore.StoredEventRepository

    save