Class DirectPersisntecyEntryReplicaProducer
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.replica.EntryReplicaProducer
com.gigaspaces.internal.cluster.node.impl.replica.DirectPersisntecyEntryReplicaProducer
- All Implemented Interfaces:
ISingleStageReplicaDataProducer<AbstractEntryReplicaData>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.internal.cluster.node.impl.replica.ISingleStageReplicaDataProducer
ISingleStageReplicaDataProducer.CloseStatus -
Field Summary
FieldsFields inherited from class com.gigaspaces.internal.cluster.node.impl.replica.EntryReplicaProducer
_engineFields inherited from interface com.gigaspaces.internal.cluster.node.impl.replica.ISingleStageReplicaDataProducer
FORCED_CLOSE_WAIT_TIME -
Constructor Summary
ConstructorsConstructorDescriptionDirectPersisntecyEntryReplicaProducer(SpaceEngine engine, SpaceCopyReplicaParameters parameters, ITemplatePacket templatePacket, Object requestContext) -
Method Summary
Modifier and TypeMethodDescriptiongetName()produceNextData(ISynchronizationCallback syncCallback) Creates the next entry that will be copied to the source spaceMethods inherited from class com.gigaspaces.internal.cluster.node.impl.replica.EntryReplicaProducer
close, dumpState, getEngine, getParameters, getRequestContext, increaseGeneratedDataCount, isClosed, isForcedClose, produceDataFromEntry, toFilterEntry
-
Field Details
-
_logger
protected static final org.slf4j.Logger _logger
-
-
Constructor Details
-
DirectPersisntecyEntryReplicaProducer
public DirectPersisntecyEntryReplicaProducer(SpaceEngine engine, SpaceCopyReplicaParameters parameters, ITemplatePacket templatePacket, Object requestContext)
-
-
Method Details
-
produceNextData
Description copied from class:EntryReplicaProducerCreates the next entry that will be copied to the source space- Specified by:
produceNextDatain interfaceISingleStageReplicaDataProducer<AbstractEntryReplicaData>- Overrides:
produceNextDatain classEntryReplicaProducer- Parameters:
syncCallback- callback to the synchronization processor that needs to be called safely under lock- Returns:
- the next data to replicate or null if there is not more data
-
getName
- Specified by:
getNamein interfaceISingleStageReplicaDataProducer<AbstractEntryReplicaData>- Overrides:
getNamein classEntryReplicaProducer
-