xmlBlaster 1.6.2 API

org.xmlBlaster.util.queue
Interface I_StorageProblemListener

All Known Implementing Classes:
CacheQueueInterceptorPlugin, JdbcManagerCommonTable, PersistenceCachePlugin

public interface I_StorageProblemListener


Field Summary
static int AVAILABLE
           
static int UNAVAILABLE
           
static int UNDEF
           
 
Method Summary
 void storageAvailable(int oldStatus)
          Invoked by the I_StorageProblemNotifier when the storage becomes available again (for example on a DB when the jdbc connection is broken).
 void storageUnavailable(int oldStatus)
          Invoked by the I_StorageProblemNotifier when the storage becomes unavailable (for example on a DB when the jdbc connection is broken).
 

Field Detail

UNDEF

public static final int UNDEF
See Also:
Constant Field Values

UNAVAILABLE

public static final int UNAVAILABLE
See Also:
Constant Field Values

AVAILABLE

public static final int AVAILABLE
See Also:
Constant Field Values
Method Detail

storageUnavailable

public void storageUnavailable(int oldStatus)
Invoked by the I_StorageProblemNotifier when the storage becomes unavailable (for example on a DB when the jdbc connection is broken).

Parameters:
oldStatus - the status before the storage became unavailable.

storageAvailable

public void storageAvailable(int oldStatus)
Invoked by the I_StorageProblemNotifier when the storage becomes available again (for example on a DB when the jdbc connection is broken). Note that this method is invoked ONLY after the connection has become unavailable, it is NOT invoked the at startup, i.e. the first time the connection becomes available.


xmlBlaster 1.6.2 API

Copyright © 1999-2007 The xmlBlaster.org contributers.