Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- available() - Method in class org.apache.lucene.replicator.IndexInputInputStream
-
Deprecated.
B
- bytesToCopy - Variable in class org.apache.lucene.replicator.nrt.CopyOneFile
- bytesToString(long) - Static method in class org.apache.lucene.replicator.nrt.Node
C
- cancel(String, Throwable) - Method in class org.apache.lucene.replicator.nrt.CopyJob
- cancelReason - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- checkForUpdate(String) - Method in class org.apache.lucene.replicator.http.HttpReplicator
-
Deprecated.
- checkForUpdate(String) - Method in class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.
- checkForUpdate(String) - Method in interface org.apache.lucene.replicator.Replicator
-
Deprecated.Check whether the given version is up-to-date and returns a
SessionToken
which can be used for fetching the revision files, otherwise returnsnull
. - checksum - Variable in class org.apache.lucene.replicator.nrt.FileMetaData
- cleanupFilesOnFailure(Directory, List<String>) - Static method in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.Cleanup the index directory by deleting all given files.
- cleanupOldIndexFiles(Directory, String, InfoStream) - Static method in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.Cleans up the index directory from old index files.
- cleanupSession(String) - Method in class org.apache.lucene.replicator.PerSessionDirectoryFactory
-
Deprecated.
- cleanupSession(String) - Method in interface org.apache.lucene.replicator.ReplicationClient.SourceDirectoryFactory
-
Deprecated.Called to denote that the replication actions for this session were finished and the directory is no longer needed.
- close() - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.
- close() - Method in class org.apache.lucene.replicator.IndexInputInputStream
-
Deprecated.
- close() - Method in class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.
- close() - Method in class org.apache.lucene.replicator.nrt.CopyOneFile
- close() - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
- close() - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
- close() - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.
- commit() - Method in class org.apache.lucene.replicator.nrt.Node
- commit() - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
- commit() - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
- compareTo(String) - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.
- compareTo(String) - Method in class org.apache.lucene.replicator.IndexRevision
-
Deprecated.
- compareTo(String) - Method in interface org.apache.lucene.replicator.Revision
-
Deprecated.Compares the revision to the given version string.
- compareTo(Revision) - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.
- compareTo(Revision) - Method in class org.apache.lucene.replicator.IndexRevision
-
Deprecated.
- completedMergeFiles - Variable in class org.apache.lucene.replicator.nrt.CopyState
- conflicts(CopyJob) - Method in class org.apache.lucene.replicator.nrt.CopyJob
-
Return true if this job is trying to copy any of the same files as the other job
- copiedFiles - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- copyFiles(Directory, Directory, List<String>) - Static method in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.Copies the files from the source directory to the target one, if they are not the same.
- CopyJob - Class in org.apache.lucene.replicator.nrt
-
Handles copying one set of files, e.g.
- CopyJob(String, Map<String, FileMetaData>, ReplicaNode, boolean, CopyJob.OnceDone) - Constructor for class org.apache.lucene.replicator.nrt.CopyJob
- CopyJob.OnceDone - Interface in org.apache.lucene.replicator.nrt
-
Callback invoked by CopyJob once all files have (finally) finished copying
- CopyOneFile - Class in org.apache.lucene.replicator.nrt
-
Copies one file from an incoming DataInput to a dest filename in a local Directory
- CopyOneFile(CopyOneFile, DataInput) - Constructor for class org.apache.lucene.replicator.nrt.CopyOneFile
-
Transfers this file copy to another input, continuing where the first one left off
- CopyOneFile(DataInput, ReplicaNode, String, FileMetaData, byte[]) - Constructor for class org.apache.lucene.replicator.nrt.CopyOneFile
- CopyState - Class in org.apache.lucene.replicator.nrt
-
Holds incRef'd file level details for one point-in-time segment infos on the primary node.
- CopyState(Map<String, FileMetaData>, long, long, byte[], Set<String>, long, SegmentInfos) - Constructor for class org.apache.lucene.replicator.nrt.CopyState
- createIndexWriterConfig(IndexWriterConfig.OpenMode) - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter
-
Deprecated.
- createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
- curNRTCopy - Variable in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Non-null when we are currently copying files from a new NRT point:
- current - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- currentRevisionFiles() - Method in class org.apache.lucene.replicator.IndexAndTaxonomyReplicationHandler
-
Deprecated.
- currentRevisionFiles() - Method in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.
- currentRevisionFiles() - Method in interface org.apache.lucene.replicator.ReplicationClient.ReplicationHandler
-
Deprecated.Returns the current revision files held by the handler.
- currentVersion() - Method in class org.apache.lucene.replicator.IndexAndTaxonomyReplicationHandler
-
Deprecated.
- currentVersion() - Method in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.
- currentVersion() - Method in interface org.apache.lucene.replicator.ReplicationClient.ReplicationHandler
-
Deprecated.Returns the current revision version held by the handler.
D
- DEFAULT_CONNECTION_TIMEOUT - Static variable in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.Default connection timeout for this client, in milliseconds.
- DEFAULT_SESSION_EXPIRATION_THRESHOLD - Static variable in class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.Threshold for expiring inactive sessions.
- DEFAULT_SO_TIMEOUT - Static variable in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.Default socket timeout for this client, in milliseconds.
- dest - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- dir - Variable in class org.apache.lucene.replicator.nrt.Node
- doAction(HttpResponse, boolean, Callable<T>) - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.Do a specific action and validate after the action that the status is still OK, and if not, attempt to extract the actual server side exception.
- doAction(HttpResponse, Callable<T>) - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.Same as
HttpClientBase.doAction(HttpResponse, boolean, Callable)
but always do consume at the end.
E
- ensureOpen() - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.Throws
AlreadyClosedException
if this client is already closed. - ensureOpen() - Method in class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.Ensure that replicator is still open, or throw
AlreadyClosedException
otherwise. - ensureOpen() - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.Throws
AlreadyClosedException
if the client has already been closed. - equals(Object) - Method in class org.apache.lucene.replicator.RevisionFile
-
Deprecated.
- exc - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- executeGET(String, String...) - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.internal: execute a request and return its result The
params
argument is treated as: name1,value1,name2,value2,... - executePOST(String, HttpEntity, String...) - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.internal: execute a request and return its result The
params
argument is treated as: name1,value1,name2,value2,...
F
- FileMetaData - Class in org.apache.lucene.replicator.nrt
-
Holds metadata details about a single file that we use to confirm two files (one remote, one local) are in fact "identical".
- FileMetaData(byte[], byte[], long, long) - Constructor for class org.apache.lucene.replicator.nrt.FileMetaData
- fileName - Variable in class org.apache.lucene.replicator.RevisionFile
-
Deprecated.The name of the file.
- files - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- files - Variable in class org.apache.lucene.replicator.nrt.CopyState
- finish() - Method in class org.apache.lucene.replicator.nrt.CopyJob
-
Renames all copied (tmp) files to their true file names
- finishCopyFile(String) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
- finishNRTCopy(CopyJob, long) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
- flushAndRefresh() - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
-
Flush all index operations to disk and opens a new near-real-time reader.
- footer - Variable in class org.apache.lucene.replicator.nrt.FileMetaData
G
- gen - Variable in class org.apache.lucene.replicator.nrt.CopyState
- getBytesCopied() - Method in class org.apache.lucene.replicator.nrt.CopyOneFile
- getCopyState() - Method in class org.apache.lucene.replicator.nrt.CopyJob
- getCopyState() - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
-
IncRef the current CopyState and return it
- getCopyStateVersion() - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
- getCurrentSearchingVersion() - Method in class org.apache.lucene.replicator.nrt.Node
- getDeletionPolicy() - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter
-
Deprecated.Returns the
SnapshotDeletionPolicy
used by the underlyingIndexWriter
. - getDirectory() - Method in class org.apache.lucene.replicator.nrt.Node
-
Returns the
Directory
this node is writing to - getDirectory(String, String) - Method in class org.apache.lucene.replicator.PerSessionDirectoryFactory
-
Deprecated.
- getDirectory(String, String) - Method in interface org.apache.lucene.replicator.ReplicationClient.SourceDirectoryFactory
-
Deprecated.Returns the
Directory
to use for the given session and source. - getExpirationThreshold() - Method in class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.Returns the expiration threshold.
- getFailed() - Method in class org.apache.lucene.replicator.nrt.CopyJob
- getFileNames() - Method in class org.apache.lucene.replicator.nrt.CopyJob
-
Returns all file names referenced in this copy job
- getFileNamesToCopy() - Method in class org.apache.lucene.replicator.nrt.CopyJob
-
Returns only those file names (a subset of
CopyJob.getFileNames()
) that need to be copied - getFilesToCopy(Map<String, FileMetaData>) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Compares incoming per-file identity (id, checksum, header, footer) versus what we have locally and returns the subset of the incoming files that need copying
- getIndexWriter() - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter
-
Deprecated.Returns the
IndexWriter
used by thisDirectoryTaxonomyWriter
. - getLastCommit(Directory) - Static method in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.
- getLastCommitVersion() - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
- getPrimaryGen() - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
-
Returns the current primary generation, which is incremented each time a new primary is started for this index
- getRemoteCloseTimeoutMs() - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
- getSearcherManager() - Method in class org.apache.lucene.replicator.nrt.Node
-
Returns the
ReferenceManager
to use for acquiring and releasing searchers - getSegmentsFile(List<String>, boolean) - Static method in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.Verifies that the last file is segments_N and fails otherwise.
- getSourceFiles() - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.
- getSourceFiles() - Method in class org.apache.lucene.replicator.IndexRevision
-
Deprecated.
- getSourceFiles() - Method in interface org.apache.lucene.replicator.Revision
-
Deprecated.Returns the files that comprise this revision, as a mapping from a source to a list of files.
- getTotalBytesCopied() - Method in class org.apache.lucene.replicator.nrt.CopyJob
- getVersion() - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.
- getVersion() - Method in class org.apache.lucene.replicator.IndexRevision
-
Deprecated.
- getVersion() - Method in interface org.apache.lucene.replicator.Revision
-
Deprecated.Returns a string representation of the version of this revision.
- globalStartNS - Static variable in class org.apache.lucene.replicator.nrt.Node
-
Startup time of original test, carefully propogated to all nodes to produce consistent "seconds since start time" in messages
H
- handleUpdateException(Throwable) - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.Called when an exception is hit by the replication thread.
- hashCode() - Method in class org.apache.lucene.replicator.RevisionFile
-
Deprecated.
- header - Variable in class org.apache.lucene.replicator.nrt.FileMetaData
- highPriority - Variable in class org.apache.lucene.replicator.nrt.CopyJob
-
True for an NRT sync, false for pre-copying a newly merged segment
- HttpClientBase - Class in org.apache.lucene.replicator.http
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- HttpClientBase(String, int, String, HttpClientConnectionManager, RequestConfig) - Constructor for class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.
- HttpReplicator - Class in org.apache.lucene.replicator.http
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- HttpReplicator(String, int, String, HttpClientConnectionManager) - Constructor for class org.apache.lucene.replicator.http.HttpReplicator
-
Deprecated.Construct with specified connection manager.
I
- id - Variable in class org.apache.lucene.replicator.nrt.Node
-
Compact ordinal for this node
- id - Variable in class org.apache.lucene.replicator.SessionToken
-
Deprecated.ID of this session.
- INDEX_SOURCE - Static variable in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.
- IndexAndTaxonomyReplicationHandler - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- IndexAndTaxonomyReplicationHandler(Directory, Directory, Callable<Boolean>) - Constructor for class org.apache.lucene.replicator.IndexAndTaxonomyReplicationHandler
-
Deprecated.Constructor with the given index directory and callback to notify when the indexes were updated.
- IndexAndTaxonomyRevision - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- IndexAndTaxonomyRevision(IndexWriter, IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter) - Constructor for class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.Constructor over the given
IndexWriter
. - IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter - Class in org.apache.lucene.replicator
-
Deprecated.A
DirectoryTaxonomyWriter
which sets the underlyingIndexWriter
'sIndexDeletionPolicy
toSnapshotDeletionPolicy
. - IndexInputInputStream - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- IndexInputInputStream(IndexInput) - Constructor for class org.apache.lucene.replicator.IndexInputInputStream
-
Deprecated.
- IndexReplicationHandler - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- IndexReplicationHandler(Directory, Callable<Boolean>) - Constructor for class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.Constructor with the given index directory and callback to notify when the indexes were updated.
- IndexRevision - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- IndexRevision(IndexWriter) - Constructor for class org.apache.lucene.replicator.IndexRevision
-
Deprecated.Constructor over the given
IndexWriter
. - INFO_STREAM_COMPONENT - Static variable in class org.apache.lucene.replicator.IndexAndTaxonomyReplicationHandler
-
Deprecated.The component used to log messages to the
default
InfoStream
. - INFO_STREAM_COMPONENT - Static variable in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.The component used to log messages to the
default
InfoStream
. - INFO_STREAM_COMPONENT - Static variable in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.The component name to use with
InfoStream.isEnabled(String)
. - infos - Variable in class org.apache.lucene.replicator.nrt.CopyState
- infosBytes - Variable in class org.apache.lucene.replicator.nrt.CopyState
- isClosed() - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.Returns true iff this instance was
closed
, otherwise returns false. - isClosed() - Method in class org.apache.lucene.replicator.nrt.Node
- isClosed() - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
- isClosed() - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
- isCopying() - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
- isUpdateThreadAlive() - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.Returns true if the update thread is alive.
L
- lastFileMetaData - Variable in class org.apache.lucene.replicator.nrt.Node
-
File metadata for last sync that succeeded; we use this as a cache
- lastNRTFiles - Variable in class org.apache.lucene.replicator.nrt.ReplicaNode
-
IncRef'd files in the current NRT point:
- lastPrimaryGen - Variable in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Primary gen last time we successfully replicated:
- launch(CopyJob) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Runs this job async'd
- launchPreCopyMerge(AtomicBoolean, long, Map<String, FileMetaData>) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
- length - Variable in class org.apache.lucene.replicator.nrt.FileMetaData
- LocalReplicator - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- LocalReplicator() - Constructor for class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.
- localStartNS - Static variable in class org.apache.lucene.replicator.nrt.Node
-
When this node was started
M
- maybeNewPrimary(long) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Called when the primary changed
- mergeCopyJobs - Variable in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Currently running merge pre-copy jobs
- message(String) - Method in class org.apache.lucene.replicator.nrt.Node
- metaData - Variable in class org.apache.lucene.replicator.nrt.CopyOneFile
- mgr - Variable in class org.apache.lucene.replicator.nrt.Node
N
- name - Variable in class org.apache.lucene.replicator.nrt.CopyOneFile
- name() - Method in class org.apache.lucene.replicator.nrt.Node
- newCopyJob(String, Map<String, FileMetaData>, Map<String, FileMetaData>, boolean, CopyJob.OnceDone) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Start a background copying job, to copy the specified files from the current primary node.
- newCopyOneFile(CopyOneFile) - Method in class org.apache.lucene.replicator.nrt.CopyJob
- newNRTPoint(long, long) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Call this to notify this replica node that a new NRT infos is available on the primary.
- Node - Class in org.apache.lucene.replicator.nrt
-
Common base class for
PrimaryNode
andReplicaNode
. - Node(int, Directory, SearcherFactory, PrintStream) - Constructor for class org.apache.lucene.replicator.nrt.Node
- NodeCommunicationException - Exception Class in org.apache.lucene.replicator.nrt
-
Should be thrown by subclasses of
PrimaryNode
andReplicaNode
if a non-fatal exception occurred while communicating between nodes. - NodeCommunicationException(String, Throwable) - Constructor for exception class org.apache.lucene.replicator.nrt.NodeCommunicationException
- nodeMessage(PrintStream, int, String) - Static method in class org.apache.lucene.replicator.nrt.Node
- nodeMessage(PrintStream, String) - Static method in class org.apache.lucene.replicator.nrt.Node
O
- OBTAIN - Enum constant in enum org.apache.lucene.replicator.http.ReplicationService.ReplicationAction
-
Deprecated.
- obtainFile(String, String, String) - Method in class org.apache.lucene.replicator.http.HttpReplicator
-
Deprecated.
- obtainFile(String, String, String) - Method in class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.
- obtainFile(String, String, String) - Method in interface org.apache.lucene.replicator.Replicator
-
Deprecated.Returns an
InputStream
for the requested file and source in the context of the givensession
. - onceDone - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- open(String, String) - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.
- open(String, String) - Method in class org.apache.lucene.replicator.IndexRevision
-
Deprecated.
- open(String, String) - Method in interface org.apache.lucene.replicator.Revision
-
Deprecated.Returns an
IndexInput
for the given fileName and source. - openIndexWriter(Directory, IndexWriterConfig) - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter
-
Deprecated.
- ord - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- org.apache.lucene.replicator - package org.apache.lucene.replicator
-
Files replication framework
- org.apache.lucene.replicator.http - package org.apache.lucene.replicator.http
-
HTTP replication implementation
- org.apache.lucene.replicator.nrt - package org.apache.lucene.replicator.nrt
-
Near-real-time replication framework
P
- perform(HttpServletRequest, HttpServletResponse) - Method in class org.apache.lucene.replicator.http.ReplicationService
-
Deprecated.Executes the replication task.
- PerSessionDirectoryFactory - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- PerSessionDirectoryFactory(Path) - Constructor for class org.apache.lucene.replicator.PerSessionDirectoryFactory
-
Deprecated.Constructor with the given sources mapping.
- preCopyMergedSegmentFiles(SegmentCommitInfo, Map<String, FileMetaData>) - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
-
Called when a merge has finished, but before IW switches to the merged segment
- PRIMARY_GEN_KEY - Static variable in class org.apache.lucene.replicator.nrt.Node
-
Key to store the primary gen in the commit data, which increments every time we promote a new primary, so replicas can detect when the primary they were talking to is changed
- primaryGen - Variable in class org.apache.lucene.replicator.nrt.CopyState
- primaryGen - Variable in class org.apache.lucene.replicator.nrt.PrimaryNode
- PrimaryNode - Class in org.apache.lucene.replicator.nrt
-
Node that holds an IndexWriter, indexing documents into its local index.
- PrimaryNode(IndexWriter, int, long, long, SearcherFactory, PrintStream) - Constructor for class org.apache.lucene.replicator.nrt.PrimaryNode
- printStream - Variable in class org.apache.lucene.replicator.nrt.Node
-
For debug logging
- publish(Revision) - Method in class org.apache.lucene.replicator.http.HttpReplicator
-
Deprecated.
- publish(Revision) - Method in class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.
- publish(Revision) - Method in interface org.apache.lucene.replicator.Replicator
-
Deprecated.Publish a new
Revision
for consumption by clients.
R
- read() - Method in class org.apache.lucene.replicator.IndexInputInputStream
-
Deprecated.
- read(byte[]) - Method in class org.apache.lucene.replicator.IndexInputInputStream
-
Deprecated.
- read(byte[], int, int) - Method in class org.apache.lucene.replicator.IndexInputInputStream
-
Deprecated.
- readLocalFileMetaData(String) - Method in class org.apache.lucene.replicator.nrt.Node
-
Opens the specified file, reads its identifying information, including file length, full index header (includes the unique segment ID) and the full footer (includes checksum), and returns the resulting
FileMetaData
. - reason - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- release() - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.
- release() - Method in class org.apache.lucene.replicator.IndexRevision
-
Deprecated.
- release() - Method in interface org.apache.lucene.replicator.Revision
-
Deprecated.Called when this revision can be safely released, i.e.
- release(String) - Method in class org.apache.lucene.replicator.http.HttpReplicator
-
Deprecated.
- release(String) - Method in class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.
- release(String) - Method in interface org.apache.lucene.replicator.Replicator
-
Deprecated.Notify that the specified
SessionToken
is no longer needed by the caller. - RELEASE - Enum constant in enum org.apache.lucene.replicator.http.ReplicationService.ReplicationAction
-
Deprecated.
- releaseCopyState(CopyState) - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
-
Called once replica is done (or failed) copying an NRT point
- ReplicaNode - Class in org.apache.lucene.replicator.nrt
-
Replica node, that pulls index changes from the primary node by copying newly flushed or merged index files.
- ReplicaNode(int, Directory, SearcherFactory, PrintStream) - Constructor for class org.apache.lucene.replicator.nrt.ReplicaNode
- REPLICATE_FILENAME_PARAM - Static variable in class org.apache.lucene.replicator.http.ReplicationService
-
Deprecated.Request parameter name for providing the file's name.
- REPLICATE_SESSION_ID_PARAM - Static variable in class org.apache.lucene.replicator.http.ReplicationService
-
Deprecated.Request parameter name for providing a session ID.
- REPLICATE_SOURCE_PARAM - Static variable in class org.apache.lucene.replicator.http.ReplicationService
-
Deprecated.Request parameter name for providing the file's source.
- REPLICATE_VERSION_PARAM - Static variable in class org.apache.lucene.replicator.http.ReplicationService
-
Deprecated.Request parameter name for providing the revision version.
- REPLICATION_CONTEXT - Static variable in class org.apache.lucene.replicator.http.ReplicationService
-
Deprecated.The context path for the servlet.
- ReplicationClient - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- ReplicationClient(Replicator, ReplicationClient.ReplicationHandler, ReplicationClient.SourceDirectoryFactory) - Constructor for class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.Constructor.
- ReplicationClient.ReplicationHandler - Interface in org.apache.lucene.replicator
-
Deprecated.Handler for revisions obtained by the client.
- ReplicationClient.SourceDirectoryFactory - Interface in org.apache.lucene.replicator
-
Deprecated.Resolves a session and source into a
Directory
to use for copying the session files to. - ReplicationService - Class in org.apache.lucene.replicator.http
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- ReplicationService(Map<String, Replicator>) - Constructor for class org.apache.lucene.replicator.http.ReplicationService
-
Deprecated.
- ReplicationService.ReplicationAction - Enum in org.apache.lucene.replicator.http
-
Deprecated.Actions supported by the
ReplicationService
. - Replicator - Interface in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- requiredFiles(Map<String, List<RevisionFile>>) - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.Returns the files required for replication.
- responseInputStream(HttpResponse) - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.Internal utility: input stream of the provided response
- responseInputStream(HttpResponse, boolean) - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.Internal utility: input stream of the provided response, which optionally consumes the response's resources when the input stream is exhausted.
- Revision - Interface in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- RevisionFile - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- RevisionFile(String) - Constructor for class org.apache.lucene.replicator.RevisionFile
-
Deprecated.Constructor with the given file name.
- revisionFiles(IndexCommit) - Static method in class org.apache.lucene.replicator.IndexRevision
-
Deprecated.Returns a singleton map of the revision files from the given
IndexCommit
. - revisionFiles(IndexCommit, IndexCommit) - Static method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.Returns a singleton map of the revision files from the given
IndexCommit
. - revisionReady(String, Map<String, List<RevisionFile>>, Map<String, List<String>>, Map<String, Directory>) - Method in class org.apache.lucene.replicator.IndexAndTaxonomyReplicationHandler
-
Deprecated.
- revisionReady(String, Map<String, List<RevisionFile>>, Map<String, List<String>>, Map<String, Directory>) - Method in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.
- revisionReady(String, Map<String, List<RevisionFile>>, Map<String, List<String>>, Map<String, Directory>) - Method in interface org.apache.lucene.replicator.ReplicationClient.ReplicationHandler
-
Deprecated.Called when a new revision was obtained and is available (i.e.
- revisionVersion(IndexCommit) - Static method in class org.apache.lucene.replicator.IndexRevision
-
Deprecated.Returns a String representation of a revision's version from the given
IndexCommit
. - revisionVersion(IndexCommit, IndexCommit) - Static method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.Returns a String representation of a revision's version from the given
IndexCommit
s of the search and taxonomy indexes. - run(CopyJob) - Method in interface org.apache.lucene.replicator.nrt.CopyJob.OnceDone
- runBlocking() - Method in class org.apache.lucene.replicator.nrt.CopyJob
-
Use current thread (blocking) to do all copying and then return once done, or throw exception on failure
S
- searcherFactory - Variable in class org.apache.lucene.replicator.nrt.Node
- sendNewReplica() - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Tell primary we (replica) just started, so primary can tell us to warm any already warming merges.
- serialize(DataOutput) - Method in class org.apache.lucene.replicator.SessionToken
-
Deprecated.Serialize the token data for communication between server and client.
- SessionExpiredException - Exception Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- SessionExpiredException(String) - Constructor for exception class org.apache.lucene.replicator.SessionExpiredException
-
Deprecated.
- SessionExpiredException(String, Throwable) - Constructor for exception class org.apache.lucene.replicator.SessionExpiredException
-
Deprecated.
- SessionExpiredException(Throwable) - Constructor for exception class org.apache.lucene.replicator.SessionExpiredException
-
Deprecated.
- SessionToken - Class in org.apache.lucene.replicator
-
Deprecated.use org.apache.lucene.replicator.nrt instead
- SessionToken(DataInput) - Constructor for class org.apache.lucene.replicator.SessionToken
-
Deprecated.Constructor which deserializes from the given
DataInput
. - SessionToken(String, Revision) - Constructor for class org.apache.lucene.replicator.SessionToken
-
Deprecated.Constructor with the given id and revision.
- setExpirationThreshold(long) - Method in class org.apache.lucene.replicator.LocalReplicator
-
Deprecated.Modify session expiration time - if a replication session is inactive that long it is automatically expired, and further attempts to operate within this session will throw a
SessionExpiredException
. - setInfoStream(InfoStream) - Method in class org.apache.lucene.replicator.IndexAndTaxonomyReplicationHandler
-
Deprecated.Sets the
InfoStream
to use for logging messages. - setInfoStream(InfoStream) - Method in class org.apache.lucene.replicator.IndexReplicationHandler
-
Deprecated.Sets the
InfoStream
to use for logging messages. - setInfoStream(InfoStream) - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.Sets the
InfoStream
to use for logging messages. - setRemoteCloseTimeoutMs(int) - Method in class org.apache.lucene.replicator.nrt.PrimaryNode
-
Set the number of milliseconds to wait during shutdown for remote replicas to close.
- size - Variable in class org.apache.lucene.replicator.RevisionFile
-
Deprecated.The size of the file denoted by
fileName
. - skip(long) - Method in class org.apache.lucene.replicator.IndexInputInputStream
-
Deprecated.
- SnapshotDirectoryTaxonomyWriter(Directory) - Constructor for class org.apache.lucene.replicator.IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter
-
Deprecated.
- SnapshotDirectoryTaxonomyWriter(Directory, IndexWriterConfig.OpenMode) - Constructor for class org.apache.lucene.replicator.IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter
-
Deprecated.
- SnapshotDirectoryTaxonomyWriter(Directory, IndexWriterConfig.OpenMode, TaxonomyWriterCache) - Constructor for class org.apache.lucene.replicator.IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter
-
Deprecated.
- sourceFiles - Variable in class org.apache.lucene.replicator.SessionToken
-
Deprecated.
- start() - Method in class org.apache.lucene.replicator.nrt.CopyJob
-
Begin copying files
- start(long) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
-
Start up this replica, which possibly requires heavy copying of files from the primary node, if we were down for a long time
- startCopyFile(String) - Method in class org.apache.lucene.replicator.nrt.ReplicaNode
- startNS - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- startUpdateThread(long, String) - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.Start the update thread with the specified interval in milliseconds.
- stopUpdateThread() - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.Stop the update thread.
T
- TAXONOMY_SOURCE - Static variable in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.
- throwKnownError(HttpResponse, StatusLine) - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.
- tmpName - Variable in class org.apache.lucene.replicator.nrt.CopyOneFile
- toCopy - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- toString() - Method in class org.apache.lucene.replicator.IndexAndTaxonomyRevision
-
Deprecated.
- toString() - Method in class org.apache.lucene.replicator.IndexRevision
-
Deprecated.
- toString() - Method in class org.apache.lucene.replicator.nrt.CopyState
- toString() - Method in class org.apache.lucene.replicator.nrt.FileMetaData
- toString() - Method in class org.apache.lucene.replicator.nrt.Node
- toString() - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.
- toString() - Method in class org.apache.lucene.replicator.RevisionFile
-
Deprecated.
- toString() - Method in class org.apache.lucene.replicator.SessionToken
-
Deprecated.
- totBytes - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- totBytesCopied - Variable in class org.apache.lucene.replicator.nrt.CopyJob
- transferAndCancel(CopyJob) - Method in class org.apache.lucene.replicator.nrt.CopyJob
-
Transfers whatever tmp files were already copied in this previous job and cancels the previous job
U
- UPDATE - Enum constant in enum org.apache.lucene.replicator.http.ReplicationService.ReplicationAction
-
Deprecated.
- updateNow() - Method in class org.apache.lucene.replicator.ReplicationClient
-
Deprecated.Executes the update operation immediately, irregardless if an update thread is running or not.
- url - Variable in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.The URL stting to execute requests against.
V
- valueOf(String) - Static method in enum org.apache.lucene.replicator.http.ReplicationService.ReplicationAction
-
Deprecated.Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.lucene.replicator.http.ReplicationService.ReplicationAction
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- VERBOSE_CONNECTIONS - Static variable in class org.apache.lucene.replicator.nrt.Node
- VERBOSE_FILES - Static variable in class org.apache.lucene.replicator.nrt.Node
- verifyStatus(HttpResponse) - Method in class org.apache.lucene.replicator.http.HttpClientBase
-
Deprecated.Internal: response status after invocation, and in case or error attempt to read the exception sent by the server.
- version - Variable in class org.apache.lucene.replicator.nrt.CopyState
- version - Variable in class org.apache.lucene.replicator.SessionToken
-
Deprecated.
- VERSION_KEY - Static variable in class org.apache.lucene.replicator.nrt.Node
-
Key to store the version in the commit data, which increments every time we open a new NRT reader
- visit() - Method in class org.apache.lucene.replicator.nrt.CopyOneFile
-
Copy another chunk of bytes, returning true once the copy is done
W
- writer - Variable in class org.apache.lucene.replicator.nrt.PrimaryNode
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form