org.apache.activemq.util
Class DefaultIOExceptionHandler

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

public class DefaultIOExceptionHandler
extends Object
implements IOExceptionHandler


Field Summary
protected  BrokerService broker
           
 
Constructor Summary
DefaultIOExceptionHandler()
           
 
Method Summary
 String getNoSpaceMessage()
           
 long getResumeCheckSleepPeriod()
           
 String getSqlExceptionMessage()
           
 void handle(IOException exception)
           
protected  boolean hasLockOwnership()
           
 boolean isIgnoreAllErrors()
           
 boolean isIgnoreNoSpaceErrors()
           
 boolean isIgnoreSQLExceptions()
           
 boolean isStopStartConnectors()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

broker

protected BrokerService broker
Constructor Detail

DefaultIOExceptionHandler

public DefaultIOExceptionHandler()
Method Detail

handle

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

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)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.