Package org.apache.activemq.util
Class DefaultIOExceptionHandler
java.lang.Object
org.apache.activemq.util.DefaultIOExceptionHandler
- All Implemented Interfaces:
BrokerServiceAware
,IOExceptionHandler
- Direct Known Subclasses:
LeaseLockerIOExceptionHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
long
void
handle
(IOException exception) protected boolean
boolean
boolean
boolean
boolean
boolean
void
setBrokerService
(BrokerService broker) void
setIgnoreAllErrors
(boolean ignoreAllErrors) void
setIgnoreNoSpaceErrors
(boolean ignoreNoSpaceErrors) void
setIgnoreSQLExceptions
(boolean ignoreSQLExceptions) void
setNoSpaceMessage
(String noSpaceMessage) void
setResumeCheckSleepPeriod
(long resumeCheckSleepPeriod) void
setSqlExceptionMessage
(String sqlExceptionMessage) void
setStopStartConnectors
(boolean stopStartConnectors) void
setSystemExitOnShutdown
(boolean systemExitOnShutdown)
-
Field Details
-
broker
-
-
Constructor Details
-
DefaultIOExceptionHandler
public DefaultIOExceptionHandler()
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceIOExceptionHandler
-
allowIOResumption
protected void allowIOResumption() -
hasLockOwnership
- Throws:
IOException
-
setBrokerService
- Specified by:
setBrokerService
in interfaceBrokerServiceAware
-
isIgnoreAllErrors
public boolean isIgnoreAllErrors() -
setIgnoreAllErrors
public void setIgnoreAllErrors(boolean ignoreAllErrors) -
isIgnoreNoSpaceErrors
public boolean isIgnoreNoSpaceErrors() -
setIgnoreNoSpaceErrors
public void setIgnoreNoSpaceErrors(boolean ignoreNoSpaceErrors) -
getNoSpaceMessage
-
setNoSpaceMessage
-
isIgnoreSQLExceptions
public boolean isIgnoreSQLExceptions() -
setIgnoreSQLExceptions
public void setIgnoreSQLExceptions(boolean ignoreSQLExceptions) -
getSqlExceptionMessage
-
setSqlExceptionMessage
-
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()
-