|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.ReplicationChannel
public class ReplicationChannel
A ReplicationChannel handle is used to manage a channel in a replication group.
ReplicationChannel handles are opened using the Environment.openChannel
method.
Method Summary | |
---|---|
void |
close()
Close the channel. |
void |
sendMessage(Set messages)
Send a message on the message channel asynchronously. |
void |
sendRequest(Set messages,
DatabaseEntry response,
long timeout)
Send request on the message channel. |
void |
setTimeout(long timeout)
Sets the default timeout value for the channel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void close() throws DatabaseException
DatabaseException
public void sendMessage(Set messages) throws DatabaseException
messages
-
DatabaseException
public void sendRequest(Set messages, DatabaseEntry response, long timeout) throws DatabaseException
messages
- response
- timeout
-
DatabaseException
public void setTimeout(long timeout) throws DatabaseException
timeout
-
DatabaseException
|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |