xmlBlaster 2.2.0 client API

org.xmlBlaster.util.queue
Interface I_StorageProblemListener

All Known Implementing Classes:
CacheQueueInterceptorPlugin, CommonTableDatabaseAccessor, CommonTableDatabaseAccessorDelegate, XBDatabaseAccessor, XBDatabaseAccessorDelegate

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

static final int UNDEF
See Also:
Constant Field Values

UNAVAILABLE

static final int UNAVAILABLE
See Also:
Constant Field Values

AVAILABLE

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

storageUnavailable

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

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 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.