public class PostgreSQLIndexEngine
extends com.eventsourcing.index.CQIndexEngine
implements com.eventsourcing.index.IndexEngine
| Modifier and Type | Field and Description |
|---|---|
protected DataSourceProvider |
dataSourceProvider |
| Constructor and Description |
|---|
PostgreSQLIndexEngine() |
PostgreSQLIndexEngine(com.impossibl.postgres.jdbc.PGDataSource dataSource) |
PostgreSQLIndexEngine(com.impossibl.postgres.jdbc.PGDataSource dataSource,
com.zaxxer.hikari.HikariConfig hikariConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStop() |
protected java.util.List<com.eventsourcing.index.IndexEngine.IndexCapabilities> |
getIndexMatrix() |
java.lang.String |
getType() |
void |
setJournal(com.eventsourcing.Journal journal) |
void |
setRepository(com.eventsourcing.Repository repository) |
java.lang.String |
toString() |
createIndexedCollection, doStart, getIndexedCollectiongetIndexOnAttribute, getIndexOnAttributesaddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected DataSourceProvider dataSourceProvider
public PostgreSQLIndexEngine()
public PostgreSQLIndexEngine(com.impossibl.postgres.jdbc.PGDataSource dataSource)
public PostgreSQLIndexEngine(com.impossibl.postgres.jdbc.PGDataSource dataSource,
com.zaxxer.hikari.HikariConfig hikariConfig)
public java.lang.String getType()
getType in interface com.eventsourcing.index.IndexEnginepublic void setRepository(com.eventsourcing.Repository repository)
throws java.lang.IllegalStateException
setRepository in interface com.eventsourcing.index.IndexEnginejava.lang.IllegalStateExceptionpublic void setJournal(com.eventsourcing.Journal journal)
throws java.lang.IllegalStateException
setJournal in interface com.eventsourcing.index.IndexEnginejava.lang.IllegalStateExceptionprotected void doStop()
doStop in class com.eventsourcing.index.CQIndexEngineprotected java.util.List<com.eventsourcing.index.IndexEngine.IndexCapabilities> getIndexMatrix()
getIndexMatrix in class com.eventsourcing.index.AbstractIndexEnginepublic java.lang.String toString()
toString in class com.google.common.util.concurrent.AbstractService