replication-impl / io.floodplain.replication.factory / ReplicationFactory

ReplicationFactory

open class ReplicationFactory

Constructors

<init>

ReplicationFactory()

Functions

create

open static fun create(values: MutableMap<String!, Any!>!, types: MutableMap<String!, ValueType!>!): ReplicationMessage!
open static fun create(dataMap: MutableMap<String!, Any!>!): ReplicationMessage!

createErrorReplicationMessage

open static fun createErrorReplicationMessage(t: Throwable!): ReplicationMessage!

createReplicationMessage

open static fun createReplicationMessage(source: Optional<String!>!, partition: Optional<Int!>!, offset: Optional<Long!>!, transactionId: String!, timestamp: Long, operation: Operation!, primaryKeys: MutableList<String!>!, types: MutableMap<String!, ValueType!>!, values: MutableMap<String!, Any!>!, subMessageMap: MutableMap<String!, ImmutableMessage!>!, subMessageListMap: MutableMap<String!, MutableList<ImmutableMessage!>!>!, commitAction: Optional<Runnable!>!, paramMessage: Optional<ImmutableMessage!>!): ReplicationMessage!
open static fun createReplicationMessage(source: Optional<String!>!, partition: Optional<Int!>!, offset: Optional<Long!>!, transactionId: String!, timestamp: Long, operation: Operation!, primaryKeys: MutableList<String!>!, message: ImmutableMessage!, commitAction: Optional<Runnable!>!, paramMessage: Optional<ImmutableMessage!>!): ReplicationMessage!

empty

open static fun empty(): ReplicationMessage!

fromMap

open static fun fromMap(key: String!, values: MutableMap<String!, Any!>!, types: MutableMap<String!, ValueType!>!): ReplicationMessage!

getInstance

open static fun getInstance(): ReplicationMessageParser!

setInstance

open static fun setInstance(parser: ReplicationMessageParser!): Unit

standardMessage

open static fun standardMessage(msg: ImmutableMessage!): ReplicationMessage!