xmlBlaster 1.6.2 API

org.xmlBlaster.contrib.replication
Interface SqlStatementMBean

All Known Implementing Classes:
SqlStatement

public interface SqlStatementMBean

SqlStatementMBean

Author:
Michele Laghi

Field Summary
static java.lang.String FAILED
           
static java.lang.String OK
           
static java.lang.String WAITING
           
 
Method Summary
 int getAll()
           
 int getFailed()
           
 java.lang.String getFailedList()
           
 int getReceived()
           
 java.lang.String getReceivedList()
           
 java.lang.String getReplicationPrefix()
           
 java.lang.String getRequestId()
           
 java.lang.String getResponse()
           
 java.lang.String getSlaveList()
           
 java.lang.String getSlaveResponse(java.lang.String slaveSessionName)
          Gets the response of the specified slave
 java.lang.String getStatement()
           
 java.lang.String getStatus()
          Gets the status which can either be FAILED, WAITING, OK
 

Field Detail

OK

public static final java.lang.String OK
See Also:
Constant Field Values

FAILED

public static final java.lang.String FAILED
See Also:
Constant Field Values

WAITING

public static final java.lang.String WAITING
See Also:
Constant Field Values
Method Detail

getStatus

public java.lang.String getStatus()
Gets the status which can either be FAILED, WAITING, OK

Returns:

getReceived

public int getReceived()
Returns:
the number of received results (including failed and ok messages)

getAll

public int getAll()
Returns:
all clients expected

getReceivedList

public java.lang.String getReceivedList()
Returns:
the comma separated list of entries received. The values are the SessionNames of the Slaves already received

getFailed

public int getFailed()
Returns:
the number of entries which have failed.

getFailedList

public java.lang.String getFailedList()
Returns:
the comma separated list of SessionNames of slaves which have failed

getStatement

public java.lang.String getStatement()
Returns:
the original Statement

getResponse

public java.lang.String getResponse()
Returns:
the 'shall' response: the response given by the DbWatcher (or Master)

getSlaveResponse

public java.lang.String getSlaveResponse(java.lang.String slaveSessionName)
Gets the response of the specified slave

Parameters:
slaveSessionName - the session name of the slave for which to retrieve the response.
Returns:

getReplicationPrefix

public java.lang.String getReplicationPrefix()

getRequestId

public java.lang.String getRequestId()

getSlaveList

public java.lang.String getSlaveList()

xmlBlaster 1.6.2 API

Copyright © 1999-2007 The xmlBlaster.org contributers.