public class LogSlicer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CLIENTERROR |
static int |
CMDFAILED |
static int |
CMDOK |
static int |
CONNREFUSED |
static int |
CONNTIMEOUT |
static int |
FILENOTFOUND |
static int |
NOTCONNECTED |
static int |
PROTOCOLERROR |
static int |
READFAILED |
static int |
SERVERERROR |
static int |
WRITEFAILED |
Constructor and Description |
---|
LogSlicer(java.util.Map props) |
Modifier and Type | Method and Description |
---|---|
void |
acknowledge(long[] state) |
void |
close() |
void |
reconnect() |
void |
slice(XQueue xq)
It sends the requests to the remove server to check the log size
frequently.
|
public static final int NOTCONNECTED
public static final int CMDOK
public static final int PROTOCOLERROR
public static final int CMDFAILED
public static final int FILENOTFOUND
public static final int CLIENTERROR
public static final int SERVERERROR
public static final int READFAILED
public static final int WRITEFAILED
public static final int CONNTIMEOUT
public static final int CONNREFUSED
public void reconnect()
public void slice(XQueue xq) throws java.io.IOException, javax.jms.JMSException
java.io.IOException
javax.jms.JMSException
public void acknowledge(long[] state) throws javax.jms.JMSException
javax.jms.JMSException
public void close()