public final class SOMReplicator extends Replicator.Abstract
Replicator.Abstract, Replicator.Partner, Replicator.Target
Modifier and Type | Field and Description |
---|---|
static String |
PARTNER_QUEUE_PROPERTIES
Partner queue properties.
|
PARTNER_PROPERTIES, REPLICATE_CONVERTS_PROPERTY, REPLICATED_DEFAULTS_PROPERTY, REPLICATED_TRACES, REPLICATOR_PROPERTIES, STORE_NAME_PROPERTY
Constructor and Description |
---|
SOMReplicator() |
Modifier and Type | Method and Description |
---|---|
protected void |
close(Replicator.Partner partner)
Closes the connection with a partner.
|
protected void |
commit(Replicator.Partner partner)
Commits.
|
protected SOMReplicator.SOMPartner |
newPartner(KeyedGroups partnerProperties)
Returns a new partner informations object.
|
protected boolean |
open(Replicator.Partner partner)
Opens a connection with a partner.
|
protected void |
replicate(ReplicatedValue replicatedValue,
Replicator.Partner partner)
Replicates a point value to a partner.
|
boolean |
setUpImpl()
Sets up the implementation for processing.
|
close, commit, filter, getAnonymousPartners, getMetadata, getPartnerNames, getPartners, getService, getStats, getTargets, getThisLogger, isEnabled, isReplicated, join, replicate, setUp, start, tearDown, useNewMetadata
public static final String PARTNER_QUEUE_PROPERTIES
public boolean setUpImpl()
setUpImpl
in interface Replicator
setUpImpl
in class Replicator.Abstract
protected void close(Replicator.Partner partner)
close
in class Replicator.Abstract
partner
- The partner.protected void commit(Replicator.Partner partner) throws InterruptedException
commit
in class Replicator.Abstract
partner
- The partner.InterruptedException
- When interrupted.protected SOMReplicator.SOMPartner newPartner(KeyedGroups partnerProperties)
newPartner
in class Replicator.Abstract
partnerProperties
- The partner configuration properties.protected boolean open(Replicator.Partner partner)
open
in class Replicator.Abstract
partner
- The partner.protected void replicate(ReplicatedValue replicatedValue, Replicator.Partner partner) throws InterruptedException
replicate
in class Replicator.Abstract
replicatedValue
- The point value.partner
- The partner.InterruptedException
- When interrupted.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.