public class ReplicationChannel
extends java.lang.Object
Environment.openChannel method.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the channel.
|
void |
sendMessage(java.util.Set messages)
Send a message on the message channel asynchronously.
|
void |
sendRequest(java.util.Set messages,
DatabaseEntry response,
long timeout)
Send request on the message channel.
|
void |
setTimeout(long timeout)
Sets the default timeout value for the channel.
|
public void close()
throws DatabaseException
DatabaseException - if a failure occurs.public void sendMessage(java.util.Set messages)
throws DatabaseException
messages - the messagesDatabaseException - if a failure occurs.public void sendRequest(java.util.Set messages,
DatabaseEntry response,
long timeout)
throws DatabaseException
messages - the messagesresponse - the responsetimeout - the timeoutDatabaseException - if a failure occurs.public void setTimeout(long timeout)
throws DatabaseException
timeout - the timeoutDatabaseException - if a failure occurs.Copyright (c) 1996, 2017 Oracle and/or its affiliates. All rights reserved.