| Package | Description |
|---|---|
| com.sleepycat.je.rep.arbiter.impl |
INTERNAL: Implementation classes for the arbiter node.
|
| com.sleepycat.je.rep.elections |
INTERNAL: Elections of the master node among the nodes in a group.
|
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| com.sleepycat.je.rep.impl.networkRestore |
INTERNAL: Protocol for
network restore. |
| com.sleepycat.je.rep.impl.node |
INTERNAL: Feeder and Replica node implementations.
|
| com.sleepycat.je.rep.monitor |
BDB JE HA support for applications that need to track the composition of a
replication group, in order to do tasks such as load balancing and
request routing.
|
| com.sleepycat.je.rep.net |
BDB JE HA support for network communications configuration.
|
| com.sleepycat.je.rep.util.ldiff |
INTERNAL: LDiff debugging utility for comparing databases on different
nodes in a group.
|
| com.sleepycat.je.rep.utilint |
INTERNAL: Command line and programmatic utilities.
|
| com.sleepycat.je.rep.utilint.net |
INTERNAL: Network utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
Runnable |
ArbiterNodeStateService.getRunnable(DataChannel dataChannel) |
Runnable |
ArbBinaryStateService.getRunnable(DataChannel dataChannel) |
| Constructor and Description |
|---|
ArbiterOutputThread(RepImpl repImpl,
BlockingQueue<Long> outputQueue,
Protocol protocol,
DataChannel replicaFeederChannel,
com.sleepycat.je.rep.arbiter.impl.ArbiterVLSNTracker vlsnTracker) |
| Modifier and Type | Field and Description |
|---|---|
protected BlockingQueue<DataChannel> |
ElectionAgentThread.channelQueue |
| Modifier and Type | Method and Description |
|---|---|
static void |
Utils.cleanup(Logger logger,
EnvironmentImpl envImpl,
Formatter formatter,
DataChannel channel,
BufferedReader in,
PrintWriter out)
Cleans up the socket and its related streams after a request/response
cycle.
|
| Modifier and Type | Method and Description |
|---|---|
TextProtocol.RequestMessage |
TextProtocol.getRequestMessage(DataChannel channel)
Reads the channel and returns a read request.
|
Runnable |
GroupService.getRunnable(DataChannel dataChannel) |
Runnable |
NodeStateService.getRunnable(DataChannel dataChannel) |
Runnable |
BinaryNodeStateService.getRunnable(DataChannel dataChannel) |
void |
TextProtocol.processIME(DataChannel channel,
TextProtocol.InvalidMessageException ime)
Process an IME encountered during request processing by writing a
ProtocolError message as a response and logging it.
|
| Constructor and Description |
|---|
LogFileFeeder(FeederManager feederManager,
DataChannel channel) |
| Modifier and Type | Field and Description |
|---|---|
protected DataChannel |
ReplicaOutputThreadBase.replicaFeederChannel |
| Constructor and Description |
|---|
ReplicaOutputThreadBase(RepImpl repImpl,
BlockingQueue<Long> outputQueue,
Protocol protocol,
DataChannel replicaFeederChannel) |
| Modifier and Type | Method and Description |
|---|---|
Runnable |
MonitorService.getRunnable(DataChannel dataChannel) |
| Modifier and Type | Method and Description |
|---|---|
DataChannel |
DataChannelFactory.acceptChannel(SocketChannel socketChannel)
Creates a DataChannel from an newly accepted socketChannel
|
DataChannel |
DataChannelFactory.connect(InetSocketAddress addr,
InetSocketAddress localAddr,
DataChannelFactory.ConnectOptions connectOptions)
Creates a DataChannel that connects to the specified address,
with the specified options.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DiffRecordAnalyzer.doAnalysis(Database localDb,
Protocol protocol,
DataChannel channel,
DiffTracker tracker,
boolean doPrint) |
Runnable |
LDiffService.getRunnable(DataChannel dataChannel) |
| Modifier and Type | Field and Description |
|---|---|
protected DataChannel |
ServiceDispatcher.ExecutingRunnable.channel |
protected DataChannel |
NamedChannel.channel |
static DataChannel |
RepUtils.CHANNEL_EOF_MARKER |
| Modifier and Type | Method and Description |
|---|---|
DataChannel |
NamedChannel.getChannel() |
static DataChannel |
RepUtils.openBlockingChannel(InetSocketAddress addr,
DataChannelFactory factory,
DataChannelFactory.ConnectOptions connectOpts)
Create a Data channel with the designated properties
|
DataChannel |
ServiceDispatcher.takeChannel(String serviceName,
int soTimeout)
Returns the next socketChannel created in response to a request for the
service.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ServiceDispatcher.doServiceHandshake(DataChannel channel,
String serviceName)
Used by the client to set up a channel for the service.
|
static void |
ServiceDispatcher.doServiceHandshake(DataChannel channel,
String serviceName,
ServiceHandshake.AuthenticationMethod[] authInfo)
A variation on the method above.
|
static void |
ServiceDispatcher.ExecutingService.ensureChannelBlocking(DataChannel channel)
Ensures the data channel is in blocking mode.
|
protected ServiceHandshake.InitResult |
ServiceHandshake.ServerInitOp.fillBuffer(DataChannel channel,
ByteBuffer buffer)
Helper function to read until the buffer is full.
|
abstract Runnable |
ServiceDispatcher.ExecutingService.getRunnable(DataChannel channel) |
protected abstract ServiceHandshake.InitResult |
ServiceHandshake.ServerInitOp.processOp(DataChannel channel)
Incrementally process the operation.
|
protected ServiceHandshake.InitResult |
ServiceHandshake.ServerInitOp.sendBuffer(DataChannel channel,
ByteBuffer buffer)
Helper function to write the contents of the buffer.
|
static void |
RepUtils.shutdownChannel(DataChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceDispatcher.register(String serviceName,
BlockingQueue<DataChannel> serviceQueue)
Registers a service queue with the ServiceDispatcher.
|
| Constructor and Description |
|---|
ExecutingRunnable(DataChannel channel,
TextProtocol protocol,
boolean expectResponse) |
NamedChannel(DataChannel channel) |
NamedChannel(DataChannel channel,
NameIdPair nameIdPair) |
NamedChannelWithTimeout(RepImpl repImpl,
Logger logger,
ChannelTimeoutTask channelTimeoutTask,
DataChannel channel,
int timeoutMs) |
NamedChannelWithTimeout(RepNode repNode,
DataChannel channel,
int timeoutMs) |
| Constructor and Description |
|---|
LazyQueuingService(String serviceName,
BlockingQueue<DataChannel> queue,
Thread serviceThread) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDataChannel
An abstract class that utilizes a delegate socketChannel for network
I/O, but which provides an abstract ByteChannel interface for callers.
|
class |
SimpleDataChannel
A basic concrete extension of DataChannel.
|
class |
SSLDataChannel
SSLDataChannel provides SSL-based communications on top of a SocketChannel.
|
| Modifier and Type | Method and Description |
|---|---|
DataChannel |
SSLChannelFactory.acceptChannel(SocketChannel socketChannel)
Construct a DataChannel wrapping the newly accepted SocketChannel
|
DataChannel |
SimpleChannelFactory.acceptChannel(SocketChannel socketChannel) |
DataChannel |
SSLChannelFactory.connect(InetSocketAddress addr,
InetSocketAddress localAddr,
DataChannelFactory.ConnectOptions connectOptions)
Construct a DataChannel wrapping a new connection to the specified
address using the associated connection options.
|
DataChannel |
SimpleChannelFactory.connect(InetSocketAddress addr,
InetSocketAddress localAddr,
DataChannelFactory.ConnectOptions connectOptions) |
Copyright © 2024. All rights reserved.