| Package | Description |
|---|---|
| com.sleepycat.je.cleaner |
INTERNAL: disk garbage collection.
|
| com.sleepycat.je.dbi |
INTERNAL: Underlying XxxImpl classes for Environment, Database and Cursor,
plus other misc classes (originally, dbi meant "db internal interface").
|
| com.sleepycat.je.evictor |
INTERNAL: Evicts data from the main and off-heap caches when they overflow.
|
| com.sleepycat.je.incomp |
INTERNAL: IN compressor performs background deletion of defunct IN slots
and deletes empty INs.
|
| com.sleepycat.je.log |
INTERNAL: Low level data storage including log entry sequential
logging/writing, random reading/fetching, and sequential reading.
|
| com.sleepycat.je.recovery |
INTERNAL: Performs recovery/startup processing during Environment open, and
checkpoints to bound recovery time.
|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| 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.stream |
INTERNAL: Feeding and syncup (init) of rep stream from master node to
other node types (replicas, etc).
|
| com.sleepycat.je.rep.txn |
INTERNAL: HA Txn/Locker subclasses for enforcing consistency and durability
constraints.
|
| com.sleepycat.je.rep.utilint |
INTERNAL: Command line and programmatic utilities.
|
| com.sleepycat.je.tree |
INTERNAL: Btree data structure (the JE main cache), including persistent
nodes classes, and Btree access methods.
|
| com.sleepycat.je.txn |
INTERNAL: Transaction management and locking (concurrency control).
|
| com.sleepycat.je.util |
Supporting utilities.
|
| com.sleepycat.je.util.verify |
INTERNAL: Scheduled data verifier and Btree verification.
|
| com.sleepycat.je.utilint |
INTERNAL: Misc utility classes, including some stat classes.
|
| Modifier and Type | Field and Description |
|---|---|
TestHook<?> |
ExtinctionScanner.dbBeforeWriteTaskHook |
| Modifier and Type | Method and Description |
|---|---|
static void |
UtilizationProfile.setIncompleteReactivateHook(TestHook hook) |
| Modifier and Type | Field and Description |
|---|---|
static TestHook |
DbCleanup.modifyDbRootHook |
| Modifier and Type | Method and Description |
|---|---|
void |
EnvironmentImpl.setBackgroundSleepHook(TestHook<?> hook) |
void |
DbEnvPool.setBeforeFinishInitHook(TestHook<EnvironmentImpl> hook) |
void |
DiskOrderedScanner.setEvictionHook(TestHook hook) |
void |
CursorImpl.setTestHook(TestHook hook) |
void |
DiskOrderedScanner.setTestHook1(TestHook hook) |
static void |
TTL.setTimeTestHook(TestHook<Long> hook)
Sets a hook for simulating changes in the clock time that is used in TTL
processing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Evictor.setEvictProfileHook(TestHook<IN> hook) |
void |
Evictor.setPreEvictINHook(TestHook<Object> hook) |
void |
Evictor.setRunnableHook(TestHook<Boolean> hook) |
| Modifier and Type | Method and Description |
|---|---|
void |
INCompressor.setBeforeFlushTrackerHook(TestHook hook) |
| Modifier and Type | Method and Description |
|---|---|
void |
LogManager.setDelayVLSNRegisterHook(TestHook<Object> hook) |
void |
LogManager.setFlushLogHook(TestHook<Object> hook) |
void |
LogManager.setReadHook(TestHook hook) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Checkpointer.setBeforeFlushHook(TestHook<?> hook) |
static void |
Checkpointer.setMaxFlushLevelHook(TestHook<?> hook) |
| Modifier and Type | Method and Description |
|---|---|
void |
NetworkRestore.setInterruptHook(TestHook<File> hook) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TextProtocol.setSerDeHook(TestHook<String> serDeHook)
Sets the hook that is invoked post serialization on request messages and
pre deserialization on response messages.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NetworkBackup.setInterruptHook(TestHook<File> hook) |
| Modifier and Type | Field and Description |
|---|---|
static TestHook<String> |
RepNode.beforeFindRestoreSupplierHook
If not null, a test hook that is called with the name of the current
node before attempting to contact each network restore supplier, for
unit testing.
|
static TestHook<String> |
RepNode.queryGroupForMembershipBeforeQueryForMaster
If not null, called by queryGroupForMembership with the name of the
current node before querying learners for the master -- for unit
testing.
|
static TestHook<String> |
RepNode.queryGroupForMembershipBeforeSleepHook
If not null, a test hook that is called with the name of the current
node during the query for group membership before the node sleeps after
failing to obtain information about the group master -- for unit
testing.
|
| Modifier and Type | Method and Description |
|---|---|
TestHook<BinaryProtocol.Message> |
Feeder.getWriteMessageHook()
Get the test hook to be called before sending a message using the
protocol's write method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepNode.setConvertHook(TestHook<Integer> hook) |
static void |
FeederManager.setDelayCBVLSNUpdateHook(TestHook<NameIdPair> hook)
Set a test hook, parameterized by feeder's Name/ID pair, that delays
CBVLSN updates if it throws an IllegalStateException.
|
static void |
Replica.setInitialReplayHook(TestHook<BinaryProtocol.Message> hook)
Sets a test hook for installation into Replica class instances to be
created in the future.
|
static void |
Feeder.setInitialWriteMessageHook(TestHook<BinaryProtocol.Message> initialWriteMessageHook)
Set the value of the write message hook that will be used for newly
created feeders.
|
void |
ReplicaOutputThreadBase.setOutputHook(TestHook<Object> outputHook) |
void |
Feeder.setWriteMessageHook(TestHook<BinaryProtocol.Message> writeMessageHook)
Set a test hook that will be called before sending a message using the
protocol's write method, supplying the hook with the message as an
argument.
|
| Modifier and Type | Field and Description |
|---|---|
static TestHook<GroupChangeEvent> |
MonitorService.processGroupChangeHook |
static TestHook<JoinGroupEvent> |
MonitorService.processJoinGroupHook |
static TestHook<LeaveGroupEvent> |
MonitorService.processLeaveGroupHook |
| Modifier and Type | Method and Description |
|---|---|
static void |
FeederReplicaSyncup.setAfterSyncupEndedHook(TestHook<Feeder> hook)
For testing.
|
static void |
FeederReplicaSyncup.setAfterSyncupStartedHook(TestHook<Feeder> hook)
For testing.
|
static void |
ReplicaSyncupReader.setFileGapHook(TestHook<Long> hook) |
static void |
ReplicaFeederSyncup.setRollbackTestHook(TestHook<ReplicaFeederSyncup> rollbackHook) |
| Modifier and Type | Method and Description |
|---|---|
void |
MasterTxn.setConvertHook(TestHook<Integer> hook) |
| Modifier and Type | Field and Description |
|---|---|
static TestHook<DataChannelFactory.ConnectOptions> |
RepUtils.openSocketChannelHook
If not null, called by openSocketChannel with the connect options before
opening the socket -- for unit testing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Tree.setCkptHook(TestHook hook) |
void |
Tree.setFetchINHook(TestHook hook) |
void |
IN.setFetchINHook(TestHook hook) |
void |
Tree.setGetParentINHook(TestHook hook) |
void |
Tree.setSearchHook(TestHook hook) |
void |
Tree.setWaitHook(TestHook hook) |
| Modifier and Type | Field and Description |
|---|---|
static TestHook<Void> |
LockManager.afterLockHook |
TestHook<Object> |
Locker.afterWaiterHook
Hook called by lock manager after adding this locker as a waiter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DbBackup.setTestHook(TestHook testHook)
For internal use only.
|
| Modifier and Type | Field and Description |
|---|---|
static TestHook<Database> |
BtreeVerifier.databaseOperBeforeBatchCheckHook |
static TestHook<Database> |
BtreeVerifier.databaseOperDuringBatchCheckHook |
| Modifier and Type | Class and Description |
|---|---|
class |
TestHookAdapter<T> |
| Modifier and Type | Field and Description |
|---|---|
static TestHook<Calendar> |
CronScheduleParser.setCurCalHook
A test hook called to allow tests to supply a calendar.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
TestHookExecute.doHookIfSet(TestHook<?> testHook) |
static <T> boolean |
TestHookExecute.doHookIfSet(TestHook<T> testHook,
T obj) |
static boolean |
TestHookExecute.doHookSetupIfSet(TestHook<?> testHook) |
static boolean |
TestHookExecute.doIOHookIfSet(TestHook<?> testHook) |
Copyright © 2024. All rights reserved.