Class PushService
java.lang.Object
org.jumpmind.symmetric.service.impl.AbstractService
org.jumpmind.symmetric.service.impl.AbstractOfflineDetectorService
org.jumpmind.symmetric.service.impl.PushService
- All Implemented Interfaces:
INodeCommunicationService.INodeCommunicationExecutor
,IOfflineDetectorService
,IPushService
,IService
public class PushService
extends AbstractOfflineDetectorService
implements IPushService, INodeCommunicationService.INodeCommunicationExecutor
- See Also:
-
Field Summary
Fields inherited from class org.jumpmind.symmetric.service.impl.AbstractOfflineDetectorService
extensionService
Fields inherited from class org.jumpmind.symmetric.service.impl.AbstractService
log, parameterService, platform, sqlTemplate, sqlTemplateDirty, symmetricDialect, tablePrefix
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(NodeCommunication nodeCommunication, RemoteNodeStatus status) protected List<NodeCommunication>
pushData
(boolean force) Attempt to push data, if any has been captured, to nodes that the captured data is targeted for.Methods inherited from class org.jumpmind.symmetric.service.impl.AbstractOfflineDetectorService
fireOffline, fireOnline, getExceptionMessage, getHttpException, is, isAuthenticationExpired, isBusy, isDuplicateConnection, isInitialLoadPending, isNoReservation, isNotAuthenticated, isOffline, isRegistrationNotOpen, isRegistrationPending, isRegistrationRequired, isServiceNotReady, isServiceUnavailable, isSyncDisabled, logTransportMessage, shouldLogTransportError
Methods inherited from class org.jumpmind.symmetric.service.impl.AbstractService
assertNotNull, buildBatchOrderBy, buildBatchParams, buildBatchWhere, buildBatchWhereFromFilter, close, createSqlReplacementTokens, getJdbcTemplate, getParameterService, getSql, getSymmetricDialect, getTablePrefix, getTargetDialect, getTargetPlatform, getTargetPlatform, isCalledFromSymmetricAdminTool, isSet, isStreamClosedByClient, isSymmetricTable, logOnce, maxDate, readAcks, sendAck, setSqlMap, synchronize, toNodeIds, toNodeIds
-
Constructor Details
-
PushService
-
-
Method Details
-
getStartTimesOfNodesBeingPushedTo
- Specified by:
getStartTimesOfNodesBeingPushedTo
in interfaceIPushService
-
pushData
Description copied from interface:IPushService
Attempt to push data, if any has been captured, to nodes that the captured data is targeted for.- Specified by:
pushData
in interfaceIPushService
- Parameters:
force
- TODO- Returns:
- RemoteNodeStatuses the status of the push attempt(s)
-
filterForReadyQueues
-
execute
- Specified by:
execute
in interfaceINodeCommunicationService.INodeCommunicationExecutor
-