Class DefaultIOExceptionHandler

java.lang.Object
org.apache.activemq.util.DefaultIOExceptionHandler
All Implemented Interfaces:
BrokerServiceAware, IOExceptionHandler
Direct Known Subclasses:
LeaseLockerIOExceptionHandler

public class DefaultIOExceptionHandler extends Object implements IOExceptionHandler
  • Field Details

  • Constructor Details

    • DefaultIOExceptionHandler

      public DefaultIOExceptionHandler()
  • Method Details

    • handle

      public void handle(IOException exception)
      Specified by:
      handle in interface IOExceptionHandler
    • allowIOResumption

      protected void allowIOResumption()
    • hasLockOwnership

      protected boolean hasLockOwnership() throws IOException
      Throws:
      IOException
    • setBrokerService

      public void setBrokerService(BrokerService broker)
      Specified by:
      setBrokerService in interface BrokerServiceAware
    • isIgnoreAllErrors

      public boolean isIgnoreAllErrors()
    • setIgnoreAllErrors

      public void setIgnoreAllErrors(boolean ignoreAllErrors)
    • isIgnoreNoSpaceErrors

      public boolean isIgnoreNoSpaceErrors()
    • setIgnoreNoSpaceErrors

      public void setIgnoreNoSpaceErrors(boolean ignoreNoSpaceErrors)
    • getNoSpaceMessage

      public String getNoSpaceMessage()
    • setNoSpaceMessage

      public void setNoSpaceMessage(String noSpaceMessage)
    • isIgnoreSQLExceptions

      public boolean isIgnoreSQLExceptions()
    • setIgnoreSQLExceptions

      public void setIgnoreSQLExceptions(boolean ignoreSQLExceptions)
    • getSqlExceptionMessage

      public String getSqlExceptionMessage()
    • setSqlExceptionMessage

      public void setSqlExceptionMessage(String sqlExceptionMessage)
    • isStopStartConnectors

      public boolean isStopStartConnectors()
    • setStopStartConnectors

      public void setStopStartConnectors(boolean stopStartConnectors)
    • getResumeCheckSleepPeriod

      public long getResumeCheckSleepPeriod()
    • setResumeCheckSleepPeriod

      public void setResumeCheckSleepPeriod(long resumeCheckSleepPeriod)
    • setSystemExitOnShutdown

      public void setSystemExitOnShutdown(boolean systemExitOnShutdown)
    • isSystemExitOnShutdown

      public boolean isSystemExitOnShutdown()