Class AbstractOfflineDetectorService

java.lang.Object
org.jumpmind.symmetric.service.impl.AbstractService
org.jumpmind.symmetric.service.impl.AbstractOfflineDetectorService
All Implemented Interfaces:
IOfflineDetectorService, IService
Direct Known Subclasses:
FileSyncService, PullService, PushService

public abstract class AbstractOfflineDetectorService extends AbstractService implements IOfflineDetectorService
Abstract service that provides help methods for detecting offline status.
  • Field Details

  • Constructor Details

  • Method Details

    • fireOnline

      protected void fireOnline(Node remoteNode, RemoteNodeStatus status)
    • fireOffline

      protected void fireOffline(Exception exception, Node remoteNode, RemoteNodeStatus status)
    • getExceptionMessage

      protected String getExceptionMessage(Exception e)
    • logTransportMessage

      protected void logTransportMessage(Node remoteNode, String message, Object... args)
    • shouldLogTransportError

      protected boolean shouldLogTransportError(String nodeId)
    • isOffline

      protected boolean isOffline(Exception ex)
    • isNotAuthenticated

      protected boolean isNotAuthenticated(Exception ex)
    • isAuthenticationExpired

      protected boolean isAuthenticationExpired(Exception ex)
    • isBusy

      protected boolean isBusy(Exception ex)
    • isDuplicateConnection

      protected boolean isDuplicateConnection(Exception ex)
    • isServiceUnavailable

      protected boolean isServiceUnavailable(Exception ex)
    • isServiceNotReady

      protected boolean isServiceNotReady(Exception ex)
    • isSyncDisabled

      protected boolean isSyncDisabled(Exception ex)
    • isRegistrationRequired

      protected boolean isRegistrationRequired(Exception ex)
    • isRegistrationPending

      protected boolean isRegistrationPending(Exception ex)
    • isInitialLoadPending

      protected boolean isInitialLoadPending(Exception ex)
    • isRegistrationNotOpen

      protected boolean isRegistrationNotOpen(Exception ex)
    • isNoReservation

      protected boolean isNoReservation(Exception ex)
    • is

      protected boolean is(Exception e, Class<?>... exceptions)
    • getHttpException

      protected HttpException getHttpException(Exception ex)