public interface Replicator
Modifier and Type | Interface and Description |
---|---|
static class |
Replicator.Abstract
Abstract replicator.
|
static class |
Replicator.Partner
Partner.
|
static class |
Replicator.Target
Target.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes.
|
void |
commit()
Commits the pending replicates.
|
Collection<String> |
getPartnerNames()
Gets the partner names.
|
boolean |
join()
Joins whatever thread set up by this replicator.
|
void |
replicate(PointValue pointValue)
Replicates of a point value.
|
boolean |
setUp(StoreServiceAppImpl storeAppImpl)
Sets up for processing.
|
boolean |
setUpImpl()
Sets up the implementation for processing.
|
void |
start()
Starts this replicator.
|
void |
tearDown()
Tears down what has been set up.
|
void |
useNewMetadata()
Uses new metadata.
|
void close()
void commit() throws InterruptedException
InterruptedException
- When the service is stopped.@Nonnull @CheckReturnValue Collection<String> getPartnerNames()
boolean join()
void replicate(@Nonnull PointValue pointValue) throws InterruptedException
pointValue
- The point value.InterruptedException
- When the Service is stopped.@CheckReturnValue boolean setUp(@Nonnull StoreServiceAppImpl storeAppImpl)
storeAppImpl
- The store application implementation.@CheckReturnValue boolean setUpImpl()
void start()
void tearDown()
void useNewMetadata()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.