Package | Description |
---|---|
org.axonframework.eventhandling.tokenstore.jdbc |
Modifier and Type | Method and Description |
---|---|
static JdbcTokenStore.Builder |
JdbcTokenStore.builder()
Instantiate a Builder to be able to create a
JdbcTokenStore . |
JdbcTokenStore.Builder |
JdbcTokenStore.Builder.claimTimeout(TemporalAmount claimTimeout)
Sets the
claimTimeout specifying the amount of time this process will wait after which this process
will force a claim of a TrackingToken . |
JdbcTokenStore.Builder |
JdbcTokenStore.Builder.connectionProvider(ConnectionProvider connectionProvider)
Sets the
ConnectionProvider used to provide connections to the underlying database. |
JdbcTokenStore.Builder |
JdbcTokenStore.Builder.contentType(Class<?> contentType)
Sets the
contentType to which a TrackingToken should be serialized. |
JdbcTokenStore.Builder |
JdbcTokenStore.Builder.nodeId(String nodeId)
Sets the
nodeId to identify ownership of the tokens. |
JdbcTokenStore.Builder |
JdbcTokenStore.Builder.schema(TokenSchema schema)
Sets the
schema which describes a JDBC token entry for this TokenStore . |
JdbcTokenStore.Builder |
JdbcTokenStore.Builder.serializer(Serializer serializer)
Sets the
Serializer used to de-/serialize TrackingToken s with. |
Constructor and Description |
---|
JdbcTokenStore(JdbcTokenStore.Builder builder)
Instantiate a
JdbcTokenStore based on the fields contained in the JdbcTokenStore.Builder . |
Copyright © 2010–2020. All rights reserved.