Index

A B C D E F G H I L N O R S U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

append(LogEntry) - Method in class org.apache.camel.component.wal.LogWriter
Appends an entry to the transaction log file

B

BufferOverflow - Exception Class in org.apache.camel.component.wal.exceptions
 
BufferOverflow(int, int) - Constructor for exception class org.apache.camel.component.wal.exceptions.BufferOverflow
 
BufferTooSmallException - Exception Class in org.apache.camel.component.wal.exceptions
 
BufferTooSmallException(int, int) - Constructor for exception class org.apache.camel.component.wal.exceptions.BufferTooSmallException
 
build() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfigurationBuilder
 
BYTES - Static variable in class org.apache.camel.component.wal.Header
 

C

close() - Method in class org.apache.camel.component.wal.LogReader
Close the reader and release resources
close() - Method in class org.apache.camel.component.wal.LogWriter
 
createForCached(long, TransactionLog.LayerInfo) - Static method in class org.apache.camel.component.wal.EntryInfo
Creates a new entry info instance for entries cached at the given position and layer
createForPersisted(long) - Static method in class org.apache.camel.component.wal.EntryInfo
Creates a new entry info instance for entries persisted at the given position
CURRENT_FILE_VERSION - Static variable in class org.apache.camel.component.wal.Header
 

D

DEFAULT_CAPACITY - Static variable in class org.apache.camel.component.wal.LogReader
 
DEFAULT_CAPACITY - Static variable in class org.apache.camel.component.wal.LogWriter
The default buffer capacity: 512 KiB
DEFAULT_SUPERVISOR_INTERVAL - Static variable in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfiguration
 
DefaultLogSupervisor - Class in org.apache.camel.component.wal
A log supervisor that runs in the background executing a task in the background.
DefaultLogSupervisor(long) - Constructor for class org.apache.camel.component.wal.DefaultLogSupervisor
Constructs a new log supervisor
DefaultLogSupervisor(long, ScheduledExecutorService) - Constructor for class org.apache.camel.component.wal.DefaultLogSupervisor
Constructs a new log supervisor

E

EntryInfo - Class in org.apache.camel.component.wal
Contains information about a log entry
EntryInfo.CachedEntryInfo - Class in org.apache.camel.component.wal
Contains information about a log entry that is hot on the cache

F

FORMAT_NAME - Static variable in class org.apache.camel.component.wal.Header
 
FORMAT_NAME_SIZE - Static variable in class org.apache.camel.component.wal.Header
 

G

getAdapter() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
getCamelContext() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
getDelegateResumeStrategy() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfiguration
 
getFileVersion() - Method in class org.apache.camel.component.wal.Header
 
getFormatName() - Method in class org.apache.camel.component.wal.Header
 
getHeader() - Method in class org.apache.camel.component.wal.LogReader
Gets the file header
getLayerInfo() - Method in class org.apache.camel.component.wal.EntryInfo.CachedEntryInfo
 
getLogFile() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfiguration
 
getPosition() - Method in class org.apache.camel.component.wal.EntryInfo
 
getRemaining() - Method in exception class org.apache.camel.component.wal.exceptions.BufferOverflow
 
getRemaining() - Method in exception class org.apache.camel.component.wal.exceptions.BufferTooSmallException
 
getRequested() - Method in exception class org.apache.camel.component.wal.exceptions.BufferOverflow
 
getRequested() - Method in exception class org.apache.camel.component.wal.exceptions.BufferTooSmallException
 
getResumeStrategyConfiguration() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
getSupervisorInterval() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfiguration
 

H

Header - Class in org.apache.camel.component.wal
This container represents a header of a transaction log file

I

InvalidRecordException - Exception Class in org.apache.camel.component.wal.exceptions
 
InvalidRecordException(String) - Constructor for exception class org.apache.camel.component.wal.exceptions.InvalidRecordException
 

L

loadCache() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
LogReader - Class in org.apache.camel.component.wal
A reader for write-ahead log files
LogReader(File) - Constructor for class org.apache.camel.component.wal.LogReader
Constructor
LogReader(File, int) - Constructor for class org.apache.camel.component.wal.LogReader
Constructor
LogSupervisor - Interface in org.apache.camel.component.wal
A supervisor can be used to specify custom supervising activities (such as flushing to disk, recycling, etc) for the log writer
LogWriter - Class in org.apache.camel.component.wal
A writer for write-ahead log files
LogWriter(File, LogSupervisor) - Constructor for class org.apache.camel.component.wal.LogWriter
Constructs a new log writer with the default capacity LogWriter.DEFAULT_CAPACITY (512 KiB).

N

newBuilder() - Static method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfigurationBuilder
Creates the most basic builder possible
newEmptyBuilder() - Static method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfigurationBuilder
Creates an empty builder

O

org.apache.camel.component.wal - package org.apache.camel.component.wal
 
org.apache.camel.component.wal.exceptions - package org.apache.camel.component.wal.exceptions
 

R

readEntry() - Method in class org.apache.camel.component.wal.LogReader
Read an entry from the file.
reset() - Method in class org.apache.camel.component.wal.LogWriter
 
resumeStrategyService() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfiguration
 

S

setAdapter(ResumeAdapter) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
setCamelContext(CamelContext) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
setResumeStrategyConfiguration(ResumeStrategyConfiguration) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
start() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
start(Runnable) - Method in class org.apache.camel.component.wal.DefaultLogSupervisor
 
start(Runnable) - Method in interface org.apache.camel.component.wal.LogSupervisor
Starts the flush policy
stop() - Method in class org.apache.camel.component.wal.DefaultLogSupervisor
 
stop() - Method in interface org.apache.camel.component.wal.LogSupervisor
Stops the policy
stop() - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 

U

updateLastOffset(OffsetKey<?>, Offset<?>) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
updateLastOffset(OffsetKey<?>, Offset<?>, ResumeStrategy.UpdateCallBack) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
updateLastOffset(T) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
updateLastOffset(T, ResumeStrategy.UpdateCallBack) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategy
 
updateState(EntryInfo.CachedEntryInfo, LogEntry.EntryState) - Method in class org.apache.camel.component.wal.LogWriter
Updates the state of af entry (i.e.: to mark them after they have seen successfully processed)
updateState(PersistedLogEntry, LogEntry.EntryState) - Method in class org.apache.camel.component.wal.LogWriter
Updates the state of af entry that has been already persisted to disk.

W

WA_DEFAULT_V1 - Static variable in class org.apache.camel.component.wal.Header
 
withDelegateResumeStrategy(ResumeStrategy) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfigurationBuilder
 
withLogFile(File) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfigurationBuilder
The transaction log file to use
withSupervisorInterval(long) - Method in class org.apache.camel.component.wal.WriteAheadResumeStrategyConfigurationBuilder
 
WriteAheadResumeStrategy - Class in org.apache.camel.component.wal
A resume strategy that uses a write-ahead strategy to keep a transaction log of the in-processing and processed records.
WriteAheadResumeStrategy() - Constructor for class org.apache.camel.component.wal.WriteAheadResumeStrategy
Creates a new write-ahead resume strategy
WriteAheadResumeStrategy(WriteAheadResumeStrategyConfiguration) - Constructor for class org.apache.camel.component.wal.WriteAheadResumeStrategy
Creates a new write-ahead resume strategy
WriteAheadResumeStrategyConfiguration - Class in org.apache.camel.component.wal
 
WriteAheadResumeStrategyConfiguration() - Constructor for class org.apache.camel.component.wal.WriteAheadResumeStrategyConfiguration
 
WriteAheadResumeStrategyConfigurationBuilder - Class in org.apache.camel.component.wal
 
WriteAheadResumeStrategyConfigurationBuilder() - Constructor for class org.apache.camel.component.wal.WriteAheadResumeStrategyConfigurationBuilder
 
A B C D E F G H I L N O R S U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form