xmlBlaster 2.2.0 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

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

FAILED

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

WAITING

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

getStatus

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

Returns:

getReceived

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

getAll

int getAll()
Returns:
all clients expected

getReceivedList

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

getFailed

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

getFailedList

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

getStatement

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

getResponse

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

getSlaveResponse

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

java.lang.String getReplicationPrefix()

getRequestId

java.lang.String getRequestId()

getSlaveList

java.lang.String getSlaveList()

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.