- AbstractFuture<T> - Class in com.foundationdb.async
-
An abstract implementation of part of the
Future interface.
- AbstractFuture(Executor) - Constructor for class com.foundationdb.async.AbstractFuture
-
- AbstractFuture(long, Executor) - Constructor for class com.foundationdb.async.AbstractFuture
-
Deprecated.
- AbstractPartialFuture<T> - Class in com.foundationdb.async
-
An abstract implementation of part of the
PartialFuture interface.
- AbstractPartialFuture(Executor) - Constructor for class com.foundationdb.async.AbstractPartialFuture
-
- AbstractPartialFuture(long, Executor) - Constructor for class com.foundationdb.async.AbstractPartialFuture
-
Deprecated.
- add(int) - Method in class com.foundationdb.KeySelector
-
Returns a new KeySelector offset by a given
number of keys from this one.
- add(String) - Method in class com.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple with a String appended as the last element.
- add(long) - Method in class com.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple with a long appended as the last element.
- add(byte[]) - Method in class com.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple with a byte array appended as the last element.
- add(byte[], int, int) - Method in class com.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple with a byte array appended as the last element.
- addAll(List<? extends Object>) - Method in class com.foundationdb.tuple.Tuple
-
Create a copy of this Tuple with a list of items appended.
- addAll(Tuple) - Method in class com.foundationdb.tuple.Tuple
-
Create a copy of this Tuple with all elements from anther Tuple appended.
- addObject(Object) - Method in class com.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple with an appended last element.
- addReadConflictKey(byte[]) - Method in interface com.foundationdb.Transaction
-
Adds a key to the transaction's read conflict ranges as if you had read
the key.
- addReadConflictRange(byte[], byte[]) - Method in interface com.foundationdb.Transaction
-
Adds a range of keys to the transaction's read conflict ranges as if you
had read the range.
- addWriteConflictKey(byte[]) - Method in interface com.foundationdb.Transaction
-
Adds a key to the transaction's write conflict ranges as if you had
written the key.
- addWriteConflictRange(byte[], byte[]) - Method in interface com.foundationdb.Transaction
-
Adds a range of keys to the transaction's write conflict ranges as if you
had cleared the range.
- apply(T) - Method in interface com.foundationdb.async.Function
-
Applies a process on input o to obtain a result or type V.
- apply(T) - Method in interface com.foundationdb.async.PartialFunction
-
Applies a process on input o to obtain a result or type V.
- applySafely(Function<I, Future<O>>, I) - Static method in class com.foundationdb.async.AsyncUtil
-
Run Function func, returning all caught exceptions as a
Future in an error state.
- applySafely(PartialFunction<I, ? extends PartialFuture<O>>, I) - Static method in class com.foundationdb.async.AsyncUtil
-
Run PartialFunction func, returning all caught exceptions as a
PartialFuture in an error state.
- asList() - Method in interface com.foundationdb.async.AsyncIterable
-
Asynchronously return the results of this operation as a List.
- AsyncIterable<T> - Interface in com.foundationdb.async
-
A collection of elements that can be iterated over in a non-blocking fashion.
- AsyncIterator<T> - Interface in com.foundationdb.async
-
A version of Iterator that allows for non-blocking iteration over elements.
- AsyncUtil - Class in com.foundationdb.async
-
Provided utilities for using and manipulating
Futures.
- cancel() - Method in interface com.foundationdb.async.AsyncIterator
-
Cancels any outstanding asynchronous work associated with this AsyncIterator.
- cancel() - Method in interface com.foundationdb.async.Cancellable
-
Cancels this operation or signal.
- cancel() - Method in interface com.foundationdb.async.PartialFuture
-
Cancels this asynchronous operation.
- cancel() - Method in class com.foundationdb.async.ReadyPartialFuture
-
Does nothing, as a ReadyPartialFuture cannot be cancelled.
- cancel() - Method in class com.foundationdb.async.SettableFuture
-
- cancel() - Method in class com.foundationdb.async.SettablePartialFuture
-
- cancel() - Method in interface com.foundationdb.Transaction
-
Cancels the Transaction.
- Cancellable - Interface in com.foundationdb.async
-
Describes an operation or signal that can be cancelled.
- clear(byte[]) - Method in interface com.foundationdb.Transaction
-
Clears a given key from the database.
- clear(byte[], byte[]) - Method in interface com.foundationdb.Transaction
-
Clears a range of keys in the database.
- clear(Range) - Method in interface com.foundationdb.Transaction
-
Clears a range of keys in the database.
- clearRangeStartsWith(byte[]) - Method in interface com.foundationdb.Transaction
-
Deprecated.
- CloneableException - Interface in com.foundationdb.async
-
An
Exception that can be duplicated with a new backtrace.
- Cluster - Class in com.foundationdb
-
The Cluster represents a connection to a physical set of cooperating machines
running FoundationDB.
- ClusterOptions - Class in com.foundationdb
-
A set of options that can be set on a
Cluster.
- ClusterOptions(OptionConsumer) - Constructor for class com.foundationdb.ClusterOptions
-
- code() - Method in enum com.foundationdb.MutationType
-
Gets the FoundationDB native-level constant code for a MutationType.
- code() - Method in enum com.foundationdb.StreamingMode
-
Gets the FoundationDB native-level constant code for a StreamingMode.
- collect(AsyncIterable<V>) - Static method in class com.foundationdb.async.AsyncUtil
-
Iterates over a set of items and returns the result as a list.
- com.foundationdb - package com.foundationdb
-
Provides an API for the FoundationDB transactional key/value store.
- com.foundationdb.async - package com.foundationdb.async
-
Provides a basic asynchronous programming library for Java.
- com.foundationdb.directory - package com.foundationdb.directory
-
Provides tools for managing hierarchically related key subspaces.
- com.foundationdb.subspace - package com.foundationdb.subspace
-
Provides a convenient way to define namespaces for different categories
of data.
- com.foundationdb.tuple - package com.foundationdb.tuple
-
Provides a set of utilities for serializing and deserializing typed data
for use in FoundationDB.
- commit() - Method in interface com.foundationdb.Transaction
-
Commit this Transaction.
- compareTo(Tuple) - Method in class com.foundationdb.tuple.Tuple
-
Compare the byte-array representation of this Tuple against another.
- compareUnsigned(byte[], byte[]) - Static method in class com.foundationdb.tuple.ByteArrayUtil
-
Compare byte arrays for equality and ordering purposes.
- contains(byte[]) - Method in class com.foundationdb.subspace.Subspace
-
Tests whether the specified key starts with this Subspace's prefix, indicating that
the Subspace logically contains key.
- create(TransactionContext, List<String>) - Method in interface com.foundationdb.directory.Directory
-
Creates a subdirectory of this Directory located at subpath
(creating parent directories if necessary).
- create(TransactionContext, List<String>, byte[]) - Method in interface com.foundationdb.directory.Directory
-
Creates a subdirectory of this Directory located at subpath
(creating parent directories if necessary).
- create(TransactionContext, List<String>, byte[], byte[]) - Method in interface com.foundationdb.directory.Directory
-
Creates a subdirectory of this Directory located at subpath
(creating parent directories if necessary).
- create(TransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectoryLayer
-
Creates a directory located at path (creating parent directories if necessary).
- create(TransactionContext, List<String>, byte[]) - Method in class com.foundationdb.directory.DirectoryLayer
-
Creates a directory located at path (creating parent directories if necessary).
- create(TransactionContext, List<String>, byte[], byte[]) - Method in class com.foundationdb.directory.DirectoryLayer
-
Creates a directory located at path (creating parent directories if necessary).
- create(TransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectorySubspace
-
- create(TransactionContext, List<String>, byte[]) - Method in class com.foundationdb.directory.DirectorySubspace
-
- create(TransactionContext, List<String>, byte[], byte[]) - Method in class com.foundationdb.directory.DirectorySubspace
-
- createCluster() - Method in class com.foundationdb.FDB
-
- createCluster(String) - Method in class com.foundationdb.FDB
-
Connects to the cluster specified by clusterFilePath.
- createCluster(String, Executor) - Method in class com.foundationdb.FDB
-
Connects to the cluster specified by clusterFilePath.
- createOrOpen(TransactionContext, List<String>) - Method in interface com.foundationdb.directory.Directory
-
Creates or opens the subdirectory of this Directory located at subpath
(creating parent directories, if necessary).
- createOrOpen(TransactionContext, List<String>, byte[]) - Method in interface com.foundationdb.directory.Directory
-
Creates or opens the subdirectory of this Directory located at subpath
(creating parent directories, if necessary).
- createOrOpen(TransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectoryLayer
-
Creates or opens the directory located at path (creating parent directories, if necessary).
- createOrOpen(TransactionContext, List<String>, byte[]) - Method in class com.foundationdb.directory.DirectoryLayer
-
Creates or opens the directory located at path(creating parent directories, if necessary).
- createOrOpen(TransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectorySubspace
-
- createOrOpen(TransactionContext, List<String>, byte[]) - Method in class com.foundationdb.directory.DirectorySubspace
-
- createTransaction() - Method in interface com.foundationdb.Database
-
- createWithContentSubspace(Subspace) - Static method in class com.foundationdb.directory.DirectoryLayer
-
Creates a new DirectoryLayer formed with a default node subspace and specified content subspace.
- createWithNodeSubspace(Subspace) - Static method in class com.foundationdb.directory.DirectoryLayer
-
Creates a new DirectoryLayer formed with a specified node subspace and default content subspace.
- get() - Method in class com.foundationdb.async.AbstractFuture
-
- get() - Method in class com.foundationdb.async.AbstractPartialFuture
-
- get() - Method in interface com.foundationdb.async.Future
-
Blocks until a value is set on this Future and returns it.
- get() - Method in interface com.foundationdb.async.PartialFuture
-
Blocks until a value is set on this PartialFuture and returns it.
- get() - Method in class com.foundationdb.async.ReadyFuture
-
- get() - Method in class com.foundationdb.async.ReadyPartialFuture
-
- get(byte[]) - Method in interface com.foundationdb.ReadTransaction
-
Gets a value from the database.
- get(Object) - Method in class com.foundationdb.subspace.Subspace
-
Gets a new subspace which is equivalent to this subspace with its prefix
Tuple extended by
the specified
Object.
- get(Tuple) - Method in class com.foundationdb.subspace.Subspace
-
Gets a new subspace which is equivalent to this subspace with its prefix
Tuple extended by
the specified
Tuple.
- get(int) - Method in class com.foundationdb.tuple.Tuple
-
Gets an indexed item without forcing a type.
- getAddressesForKey(Transaction, byte[]) - Static method in class com.foundationdb.LocalityUtil
-
Returns a list of public network addresses as strings, one for each of
the storage servers responsible for storing key and its associated
value.
- getAll(Collection<Future<V>>) - Static method in class com.foundationdb.async.AsyncUtil
-
Collects the results of many asynchronous processes into one asynchronous output.
- getAllPartial(Collection<PartialFuture<V>>) - Static method in class com.foundationdb.async.AsyncUtil
-
Collects the results of many asynchronous processes into one asynchronous output.
- getBoundaryKeys(Database, byte[], byte[]) - Static method in class com.foundationdb.LocalityUtil
-
Returns a AsyncIterable of keys k such that
begin <= k < end and k is located at the start of a
contiguous range stored on a single server.
This method is not transactional.
- getBoundaryKeys(Transaction, byte[], byte[]) - Static method in class com.foundationdb.LocalityUtil
-
Returns a AsyncIterable of keys k such that
begin <= k < end and k is located at the start of a
contiguous range stored on a single server.
This method is not transactional.
- getBytes(int) - Method in class com.foundationdb.tuple.Tuple
-
Gets an indexed item as a byte[].
- getCode() - Method in exception com.foundationdb.FDBException
-
Gets the code for this error.
- getCommittedVersion() - Method in interface com.foundationdb.Transaction
-
Gets the version number at which a successful commit modified the database.
- getDatabase() - Method in interface com.foundationdb.Transaction
-
Returns the
Database that this
Transaction is interacting
with.
- getDefault() - Static method in class com.foundationdb.directory.DirectoryLayer
-
Gets the default instance of the DirectoryLayer.
- getDirectoryLayer() - Method in interface com.foundationdb.directory.Directory
-
- getDirectoryLayer() - Method in class com.foundationdb.directory.DirectoryLayer
-
Returns this.
- getDirectoryLayer() - Method in class com.foundationdb.directory.DirectorySubspace
-
- getError() - Method in interface com.foundationdb.async.Future
-
Gets the error from a Future if it has been set to this state.
- getError() - Method in interface com.foundationdb.async.PartialFuture
-
Gets the error from a Future if it has been set to this state.
- getError() - Method in class com.foundationdb.async.ReadyPartialFuture
-
- getError() - Method in class com.foundationdb.async.SettableFuture
-
- getError() - Method in class com.foundationdb.async.SettablePartialFuture
-
- getIfDone() - Method in class com.foundationdb.async.SettableFuture
-
- getIfDone() - Method in class com.foundationdb.async.SettablePartialFuture
-
- getInterruptibly() - Method in class com.foundationdb.async.AbstractFuture
-
- getInterruptibly() - Method in class com.foundationdb.async.AbstractPartialFuture
-
- getInterruptibly() - Method in interface com.foundationdb.async.Future
-
Blocks until a value is set on this Future and returns it.
- getInterruptibly() - Method in interface com.foundationdb.async.PartialFuture
-
Blocks until a value is set on this PartialFuture and returns it.
- getInterruptibly() - Method in class com.foundationdb.async.ReadyFuture
-
- getInterruptibly() - Method in class com.foundationdb.async.ReadyPartialFuture
-
- getItems() - Method in class com.foundationdb.tuple.Tuple
-
Gets the unserialized contents of this Tuple.
- getKey() - Method in class com.foundationdb.KeySelector
-
Returns a copy of the key that serves as the anchor for this KeySelector.
- getKey() - Method in class com.foundationdb.KeyValue
-
Gets the key from the pair.
- getKey(KeySelector) - Method in interface com.foundationdb.ReadTransaction
-
Returns the key referenced by the specified KeySelector.
- getKey() - Method in class com.foundationdb.subspace.Subspace
-
Gets the key encoding the prefix used for this Subspace.
- getLayer() - Method in interface com.foundationdb.directory.Directory
-
Gets the layer byte string that was stored when this Directory
was created.
- getLayer() - Method in class com.foundationdb.directory.DirectoryLayer
-
Returns the layer byte string for this DirectoryLayer, which is always an empty
array.
- getLayer() - Method in class com.foundationdb.directory.DirectorySubspace
-
- getLong(int) - Method in class com.foundationdb.tuple.Tuple
-
Gets an indexed item as a long.
- getOffset() - Method in class com.foundationdb.KeySelector
-
Returns the key offset for this KeySelector.
- getPath() - Method in interface com.foundationdb.directory.Directory
-
Gets the path represented by this Directory.
- getPath() - Method in class com.foundationdb.directory.DirectoryLayer
-
Gets the path for the root node of this DirectoryLayer.
- getPath() - Method in class com.foundationdb.directory.DirectorySubspace
-
- getRange(KeySelector, KeySelector) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector, int) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector, int, boolean) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector, int, boolean, StreamingMode) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[]) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[], int) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[], int, boolean) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[], int, boolean, StreamingMode) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range, int) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range, int, boolean) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range, int, boolean, StreamingMode) - Method in interface com.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getReadVersion() - Method in interface com.foundationdb.ReadTransaction
-
Gets the version at which the reads for this Transaction will access the database.
- getString(int) - Method in class com.foundationdb.tuple.Tuple
-
Gets an indexed item as a String.
- getValue() - Method in class com.foundationdb.KeyValue
-
Gets the value from the pair.
- onCancelled(Runnable) - Method in interface com.foundationdb.async.Settable
-
Register code to be called if this operation is cancelled.
- onCancelled(Runnable) - Method in class com.foundationdb.async.SettableFuture
-
- onCancelled(Runnable) - Method in class com.foundationdb.async.SettablePartialFuture
-
- onCancelledCancel(Cancellable) - Method in interface com.foundationdb.async.Settable
-
Link an operation to cancel in the event that this Settable is cancelled.
- onCancelledCancel(Cancellable) - Method in class com.foundationdb.async.SettableFuture
-
- onCancelledCancel(Cancellable) - Method in class com.foundationdb.async.SettablePartialFuture
-
- onError(RuntimeException) - Method in interface com.foundationdb.Transaction
-
Resets a transaction and returns a delayed signal for error recovery.
- onError(Exception) - Method in interface com.foundationdb.Transaction
-
Convenience method for compatibility with code that does not want to do
type-based dispatching of errors.
- onHasNext() - Method in interface com.foundationdb.async.AsyncIterator
-
Returns a asynchronous signal for the presence of more elements in the sequence.
- onReady(Runnable) - Method in class com.foundationdb.async.AbstractPartialFuture
-
- onReady(Runnable) - Method in interface com.foundationdb.async.PartialFuture
-
Registers a Runnable to run as the callback for this Future
on a default thread.
- onReady(Runnable) - Method in class com.foundationdb.async.ReadyPartialFuture
-
- onReadyAlready(Runnable) - Method in class com.foundationdb.async.AbstractPartialFuture
-
- onReadyAlready(Runnable) - Method in interface com.foundationdb.async.PartialFuture
-
Checks if this Future is ready and, if not, atomically registers a
Runnable to run as the callback for this future on a default thread.
- onReadyAlready(Runnable) - Method in class com.foundationdb.async.ReadyPartialFuture
-
- open(ReadTransactionContext, List<String>) - Method in interface com.foundationdb.directory.Directory
-
Opens the subdirectory of this Directory located at subpath.
- open(ReadTransactionContext, List<String>, byte[]) - Method in interface com.foundationdb.directory.Directory
-
Opens the subdirectory of this Directory located at subpath.
- open(ReadTransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectoryLayer
-
Opens the directory located at path.
- open(ReadTransactionContext, List<String>, byte[]) - Method in class com.foundationdb.directory.DirectoryLayer
-
Opens the directory located at path.
- open(ReadTransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectorySubspace
-
- open(ReadTransactionContext, List<String>, byte[]) - Method in class com.foundationdb.directory.DirectorySubspace
-
- open() - Method in class com.foundationdb.FDB
-
- open(String) - Method in class com.foundationdb.FDB
-
Initializes networking, connects to the cluster specified by clusterFilePath
and opens the database with the default name.
- open(String, byte[]) - Method in class com.foundationdb.FDB
-
Initializes networking, connects to the cluster specified by clusterFilePath
and opens the database with the specified name.
- openDatabase(byte[]) - Method in class com.foundationdb.Cluster
-
Creates a connection to a specific database on an FDB cluster.
- opened - Variable in exception com.foundationdb.directory.MismatchedLayerException
-
The layer byte string that the directory was opened with.
- OptionConsumer - Interface in com.foundationdb
-
An object on which encoded options can be set.
- options() - Method in class com.foundationdb.Cluster
-
Returns a set of options that can be set on a Cluster.
- options() - Method in interface com.foundationdb.Database
-
Returns a set of options that can be set on a Database
- options() - Method in class com.foundationdb.FDB
-
Returns a set of options that can be set on a the FoundationDB API.
- options() - Method in interface com.foundationdb.Transaction
-
Returns a set of options that can be set on a Transaction
- Range - Class in com.foundationdb
-
A simple description of an exact range of keyspace, specified by a begin and end key.
- Range(byte[], byte[]) - Constructor for class com.foundationdb.Range
-
Construct a new Range with an inclusive begin key and an exclusive
end key.
- range() - Method in class com.foundationdb.subspace.Subspace
-
Gets a
Range respresenting all keys strictly in the
Subspace.
- range(Tuple) - Method in class com.foundationdb.subspace.Subspace
-
Gets a
Range representing all keys in the
Subspace strictly starting with
the specified
Tuple.
- range() - Method in class com.foundationdb.tuple.Tuple
-
Returns a range representing all keys that encode Tuples strictly starting
with this Tuple.
- read(Function<? super ReadTransaction, T>) - Method in interface com.foundationdb.Database
-
Runs a read-only transactional function against this Database with retry logic.
- read(PartialFunction<? super ReadTransaction, T>) - Method in interface com.foundationdb.Database
-
Runs a read-only transactional function against this Database with retry logic.
- read(Function<? super ReadTransaction, T>) - Method in interface com.foundationdb.ReadTransactionContext
-
Runs a function in this context that takes a read-only transaction.
- read(PartialFunction<? super ReadTransaction, T>) - Method in interface com.foundationdb.ReadTransactionContext
-
Runs a function in this context that takes a read-only transaction.
- readAsync(Function<? super ReadTransaction, Future<T>>) - Method in interface com.foundationdb.Database
-
Runs a read-only transactional function against this Database with retry logic.
- readAsync(PartialFunction<? super ReadTransaction, ? extends PartialFuture<T>>) - Method in interface com.foundationdb.Database
-
Runs a read-only transactional function against this Database with retry logic.
- readAsync(Function<? super ReadTransaction, Future<T>>) - Method in interface com.foundationdb.ReadTransactionContext
-
Runs a function in this context that takes a read-only transaction.
- readAsync(PartialFunction<? super ReadTransaction, ? extends PartialFuture<T>>) - Method in interface com.foundationdb.ReadTransactionContext
-
Runs a function in this context that takes a read-only transaction.
- ReadTransaction - Interface in com.foundationdb
-
- ReadTransactionContext - Interface in com.foundationdb
-
A context in which a ReadTransaction is available for database operations.
- ReadyFuture<T> - Class in com.foundationdb.async
-
A Future that is always in the "set" state.
- ReadyFuture(T) - Constructor for class com.foundationdb.async.ReadyFuture
-
Create a new ReadyFuture set to a value.
- ReadyFuture(Error) - Constructor for class com.foundationdb.async.ReadyFuture
-
Create a new ReadyFuture set to an error.
- ReadyFuture(RuntimeException) - Constructor for class com.foundationdb.async.ReadyFuture
-
Create a new ReadyFuture set to an error.
- ReadyFuture(T, Executor) - Constructor for class com.foundationdb.async.ReadyFuture
-
Create a new ReadyFuture set to a value.
- ReadyFuture(Error, Executor) - Constructor for class com.foundationdb.async.ReadyFuture
-
Create a new ReadyFuture set to an error.
- ReadyFuture(RuntimeException, Executor) - Constructor for class com.foundationdb.async.ReadyFuture
-
Create a new ReadyFuture set to an error.
- ReadyPartialFuture<T> - Class in com.foundationdb.async
-
A PartialFuture that is always in the "set" state.
- ReadyPartialFuture(T) - Constructor for class com.foundationdb.async.ReadyPartialFuture
-
Create a new ReadyFuture set to a value.
- ReadyPartialFuture(Error) - Constructor for class com.foundationdb.async.ReadyPartialFuture
-
Create a new ReadyFuture set to an error.
- ReadyPartialFuture(Exception) - Constructor for class com.foundationdb.async.ReadyPartialFuture
-
Create a new ReadyPartialFuture set to an error.
- ReadyPartialFuture(T, Executor) - Constructor for class com.foundationdb.async.ReadyPartialFuture
-
Create a new ReadyPartialFuture set to a value.
- ReadyPartialFuture(Error, Executor) - Constructor for class com.foundationdb.async.ReadyPartialFuture
-
Create a new ReadyFuture set to an error.
- ReadyPartialFuture(Exception, Executor) - Constructor for class com.foundationdb.async.ReadyPartialFuture
-
Create a new ReadyFuture set to an error.
- remove(TransactionContext) - Method in interface com.foundationdb.directory.Directory
-
Removes this Directory and all of its subdirectories, as well as all of their contents.
- remove(TransactionContext, List<String>) - Method in interface com.foundationdb.directory.Directory
-
Removes the subdirectory of this Directory located at subpath and all of its subdirectories,
as well as all of their contents.
- remove(TransactionContext) - Method in class com.foundationdb.directory.DirectoryLayer
-
This method should not be called on the root directory.
- remove(TransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectoryLayer
-
Removes the directory located at path and all of its subdirectories,
as well as all of their contents.
- remove(TransactionContext) - Method in class com.foundationdb.directory.DirectorySubspace
-
- remove(TransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectorySubspace
-
- removeIfExists(TransactionContext) - Method in interface com.foundationdb.directory.Directory
-
Removes this Directory and all of its subdirectories, as well as all of their contents.
- removeIfExists(TransactionContext, List<String>) - Method in interface com.foundationdb.directory.Directory
-
Removes the subdirectory of this Directory located at subpath and all of its subdirectories,
as well as all of their contents.
- removeIfExists(TransactionContext) - Method in class com.foundationdb.directory.DirectoryLayer
-
This method should not be called on the root directory.
- removeIfExists(TransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectoryLayer
-
Removes the directory located at subpath and all of its subdirectories,
as well as all of their contents.
- removeIfExists(TransactionContext) - Method in class com.foundationdb.directory.DirectorySubspace
-
- removeIfExists(TransactionContext, List<String>) - Method in class com.foundationdb.directory.DirectorySubspace
-
- replace(byte[], byte[], byte[]) - Static method in class com.foundationdb.tuple.ByteArrayUtil
-
Replaces occurrences of a pattern in a byte array.
- replace(byte[], int, int, byte[], byte[]) - Static method in class com.foundationdb.tuple.ByteArrayUtil
-
Replaces occurrences of a pattern in a byte array.
- rescue(Function<? super Exception, Future<T>>) - Method in class com.foundationdb.async.AbstractPartialFuture
-
- rescue(PartialFunction<? super Exception, ? extends PartialFuture<T>>) - Method in class com.foundationdb.async.AbstractPartialFuture
-
- rescue(PartialFunction<? super Exception, ? extends PartialFuture<T>>) - Method in interface com.foundationdb.async.PartialFuture
-
Map any error result of this Future to another asynchronous process.
- rescue(Function<? super Exception, Future<T>>) - Method in interface com.foundationdb.async.PartialFuture
-
Convert an error output of this operation into another asynchronous process.
- rescue(Function<? super Exception, Future<T>>) - Method in class com.foundationdb.async.ReadyPartialFuture
-
- rescue(PartialFunction<? super Exception, ? extends PartialFuture<T>>) - Method in class com.foundationdb.async.ReadyPartialFuture
-
- rescueRuntime(Function<? super RuntimeException, Future<T>>) - Method in class com.foundationdb.async.AbstractFuture
-
- rescueRuntime(Function<? super RuntimeException, Future<T>>) - Method in interface com.foundationdb.async.Future
-
Returns a Future that modifies the error behavior of this Future.
- rescueRuntime(Function<? super RuntimeException, Future<T>>) - Method in class com.foundationdb.async.ReadyFuture
-
- reset() - Method in interface com.foundationdb.Transaction
-
Resets a Transaction to its initial state after creation.
- retargetClone() - Method in interface com.foundationdb.async.CloneableException
-
Create and return a new Exception that has a backtrace including the
calling line of code.
- retargetClone() - Method in exception com.foundationdb.FDBException
-
- ROW_LIMIT_UNLIMITED - Static variable in interface com.foundationdb.ReadTransaction
-
When passed to a getRange() call that takes a limit parameter,
indicates that the query should return unlimited rows.
- run(Function<? super Transaction, T>) - Method in interface com.foundationdb.Database
-
Runs a transactional function against this Database with retry logic.
- run(PartialFunction<? super Transaction, T>) - Method in interface com.foundationdb.Database
-
Runs a transactional function against this Database with retry logic.
- run(Function<? super Transaction, T>) - Method in interface com.foundationdb.Transaction
-
Run a function once against this Transaction.
- run(PartialFunction<? super Transaction, T>) - Method in interface com.foundationdb.Transaction
-
Run a function once against this Transaction.
- run(Function<? super Transaction, T>) - Method in interface com.foundationdb.TransactionContext
-
Runs a function in this context that takes a transaction.
- run(PartialFunction<? super Transaction, T>) - Method in interface com.foundationdb.TransactionContext
-
Runs a function in this context that takes a transaction.
- runAsync(Function<? super Transaction, Future<T>>) - Method in interface com.foundationdb.Database
-
Runs a transactional function against this Database with retry logic.
- runAsync(PartialFunction<? super Transaction, ? extends PartialFuture<T>>) - Method in interface com.foundationdb.Database
-
Runs a transactional function against this Database with retry logic.
- runAsync(Function<? super Transaction, Future<T>>) - Method in interface com.foundationdb.Transaction
-
Run a function once against this Transaction.
- runAsync(PartialFunction<? super Transaction, ? extends PartialFuture<T>>) - Method in interface com.foundationdb.Transaction
-
Run a function once against this Transaction.
- runAsync(Function<? super Transaction, Future<T>>) - Method in interface com.foundationdb.TransactionContext
-
Runs a function in this context that takes a transaction.
- runAsync(PartialFunction<? super Transaction, ? extends PartialFuture<T>>) - Method in interface com.foundationdb.TransactionContext
-
Runs a function in this context that takes a transaction.
- selectAPIVersion(int) - Static method in class com.foundationdb.FDB
-
Select the version for the client API.
- set(T) - Method in interface com.foundationdb.async.Settable
-
Set this Settable to a value.
- set(T) - Method in class com.foundationdb.async.SettableFuture
-
- set(T) - Method in class com.foundationdb.async.SettablePartialFuture
-
- set(byte[], byte[]) - Method in interface com.foundationdb.Transaction
-
Sets the value for a given key.
- setAccessSystemKeys() - Method in class com.foundationdb.TransactionOptions
-
Allows this transaction to read and modify system keys (those that start with the byte 0xFF).
- setCausalReadDisable() - Method in class com.foundationdb.TransactionOptions
-
- setCausalReadRisky() - Method in class com.foundationdb.TransactionOptions
-
The read version will be committed, and usually will be the latest committed, but might not be the latest committed in the event of a fault or partition.
- setCausalWriteRisky() - Method in class com.foundationdb.TransactionOptions
-
The transaction, if not self-conflicting, may be committed a second time after commit succeeds, in the event of a fault.
- setCheckWritesEnable() - Method in class com.foundationdb.TransactionOptions
-
- setClusterFile(String) - Method in class com.foundationdb.NetworkOptions
-
Deprecated.
- setDatacenterId(String) - Method in class com.foundationdb.DatabaseOptions
-
Specify the datacenter ID that was passed to fdbserver processes running in the same datacenter as this client, for better location-aware load balancing.
- setDebugDump() - Method in class com.foundationdb.TransactionOptions
-
- setDebugRetryLogging(String) - Method in class com.foundationdb.TransactionOptions
-
- setDurabilityDatacenter() - Method in class com.foundationdb.TransactionOptions
-
- setDurabilityDevNullIsWebScale() - Method in class com.foundationdb.TransactionOptions
-
- setDurabilityRisky() - Method in class com.foundationdb.TransactionOptions
-
- setError(RuntimeException) - Method in interface com.foundationdb.async.Settable
-
Set this Settable to an error.
- setError(Error) - Method in interface com.foundationdb.async.Settable
-
Set this Settable to an error.
- setError(Error) - Method in class com.foundationdb.async.SettableFuture
-
- setError(RuntimeException) - Method in class com.foundationdb.async.SettableFuture
-
- setError(Exception) - Method in interface com.foundationdb.async.SettablePartial
-
Set this Settable to an error.
- setError(Error) - Method in class com.foundationdb.async.SettablePartialFuture
-
- setError(RuntimeException) - Method in class com.foundationdb.async.SettablePartialFuture
-
- setError(Exception) - Method in class com.foundationdb.async.SettablePartialFuture
-
- setInitializeNewDatabase() - Method in class com.foundationdb.TransactionOptions
-
This is a write-only transaction which sets the initial configuration.
- setKnob(String) - Method in class com.foundationdb.NetworkOptions
-
Set internal tuning or debugging knobs.
- setLocalAddress(String) - Method in class com.foundationdb.NetworkOptions
-
Deprecated.
- setLocationCacheSize(long) - Method in class com.foundationdb.DatabaseOptions
-
Set the size of the client location cache.
- setMachineId(String) - Method in class com.foundationdb.DatabaseOptions
-
Specify the machine ID that was passed to fdbserver processes running on the same machine as this client, for better location-aware load balancing.
- setMaxRetryDelay(long) - Method in class com.foundationdb.TransactionOptions
-
Set the maximum amount of backoff delay incurred in the call to onError if the error is retryable.
- setMaxWatches(long) - Method in class com.foundationdb.DatabaseOptions
-
Set the maximum number of watches allowed to be outstanding on a database connection.
- setNextWriteNoWriteConflictRange() - Method in class com.foundationdb.TransactionOptions
-
The next write performed on this transaction will not generate a write conflict range.
- setOption(int, byte[]) - Method in interface com.foundationdb.OptionConsumer
-
Attempt to set the given option.
- setPriorityBatch() - Method in class com.foundationdb.TransactionOptions
-
Specifies that this transaction should be treated as low priority and that default priority transactions should be processed first.
- setPrioritySystemImmediate() - Method in class com.foundationdb.TransactionOptions
-
Specifies that this transaction should be treated as highest priority and that lower priority transactions should block behind this one.
- setReadAheadDisable() - Method in class com.foundationdb.TransactionOptions
-
Disables read-ahead caching for range reads.
- setReadSystemKeys() - Method in class com.foundationdb.TransactionOptions
-
Allows this transaction to read system keys (those that start with the byte 0xFF).
- setReadVersion(long) - Method in interface com.foundationdb.Transaction
-
Directly sets the version of the database at which to execute reads.
- setReadYourWritesDisable() - Method in class com.foundationdb.TransactionOptions
-
Reads performed by a transaction will not see any prior mutations that occured in that transaction, instead seeing the value which was in the database at the transaction's read version.
- setRetryLimit(long) - Method in class com.foundationdb.TransactionOptions
-
Set a maximum number of retries after which additional calls to onError will throw the most recently seen error code.
- setSnapshotRywDisable() - Method in class com.foundationdb.TransactionOptions
-
Snapshot read operations will not see the results of writes done in the same transaction.
- setSnapshotRywEnable() - Method in class com.foundationdb.TransactionOptions
-
Snapshot read operations will see the results of writes done in the same transaction.
- Settable<T> - Interface in com.foundationdb.async
-
Used to communicate output to consumers of an asynchronous process.
- SettableFuture<T> - Class in com.foundationdb.async
-
Represents an
Future that can be fulfilled via the
Settable interface.
- SettableFuture() - Constructor for class com.foundationdb.async.SettableFuture
-
Construct a SettableFuture with the default Executor
- SettableFuture(Executor) - Constructor for class com.foundationdb.async.SettableFuture
-
Construct a SettableFuture with a specified Executor
- SettablePartial<T> - Interface in com.foundationdb.async
-
Used to communicate output to consumers of an asynchronous process.
- SettablePartialFuture<T> - Class in com.foundationdb.async
-
- SettablePartialFuture() - Constructor for class com.foundationdb.async.SettablePartialFuture
-
Construct a SettableFuture with the default Executor
- SettablePartialFuture(Executor) - Constructor for class com.foundationdb.async.SettablePartialFuture
-
Construct a SettableFuture with a specified Executor
- setTimeout(long) - Method in class com.foundationdb.TransactionOptions
-
Set a timeout in milliseconds which, when elapsed, will cause the transaction automatically to be cancelled.
- setTLSCertBytes(byte[]) - Method in class com.foundationdb.NetworkOptions
-
Set the certificate chain.
- setTLSCertPath(String) - Method in class com.foundationdb.NetworkOptions
-
Set the file from which to load the certificate chain.
- setTLSKeyBytes(byte[]) - Method in class com.foundationdb.NetworkOptions
-
Set the private key corresponding to your own certificate.
- setTLSKeyPath(String) - Method in class com.foundationdb.NetworkOptions
-
Set the file from which to load the private key corresponding to your own certificate.
- setTLSPlugin(String) - Method in class com.foundationdb.NetworkOptions
-
Set the TLS plugin to load.
- setTLSVerifyPeers(byte[]) - Method in class com.foundationdb.NetworkOptions
-
Set the peer certificate field verification criteria.
- setTraceEnable(String) - Method in class com.foundationdb.NetworkOptions
-
Enables trace output to a file in a directory of the clients choosing.
- setTraceMaxLogsSize(long) - Method in class com.foundationdb.NetworkOptions
-
Sets the maximum size of a all the trace output files put together.
- setTraceRollSize(long) - Method in class com.foundationdb.NetworkOptions
-
Sets the maximum size in bytes of a single trace output file.
- size() - Method in class com.foundationdb.tuple.Tuple
-
Gets the number of elements in this Tuple.
- snapshot() - Method in interface com.foundationdb.Transaction
-
Return special-purpose, read-only view of the database.
- sourcePath - Variable in exception com.foundationdb.directory.DirectoryMoveException
-
The path of the directory being moved.
- split(byte[], byte[]) - Static method in class com.foundationdb.tuple.ByteArrayUtil
-
Splits a byte array at each occurrence of a pattern.
- split(byte[], int, int, byte[]) - Static method in class com.foundationdb.tuple.ByteArrayUtil
-
Splits a byte array at each occurrence of a pattern.
- startNetwork() - Method in class com.foundationdb.FDB
-
Initializes networking.
- startNetwork(Executor) - Method in class com.foundationdb.FDB
-
Initializes networking.
- startsWith(byte[]) - Static method in class com.foundationdb.Range
-
Returns a Range that describes all possible keys that are prefixed with a
specified key.
- startsWith(byte[], byte[]) - Static method in class com.foundationdb.tuple.ByteArrayUtil
-
Check if a byte array starts with another byte array.
- stopNetwork() - Method in class com.foundationdb.FDB
-
Stops the FoundationDB networking engine.
- stored - Variable in exception com.foundationdb.directory.MismatchedLayerException
-
The layer byte string that the directory was created with.
- StreamingMode - Enum in com.foundationdb
-
Options that control the way the Java binding performs range reads.
- strinc(byte[]) - Static method in class com.foundationdb.tuple.ByteArrayUtil
-
Computes the first key that would sort outside the range prefixed by key.
- Subspace - Class in com.foundationdb.subspace
-
Subspace provide a convenient way to use
Tuples to define namespaces for
different categories of data.
- Subspace() - Constructor for class com.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with an empty prefix
Tuple.
- Subspace(Tuple) - Constructor for class com.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with the specified prefix
Tuple.
- Subspace(byte[]) - Constructor for class com.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with the specified byte string, which will
be prepended to all packed keys.
- Subspace(Tuple, byte[]) - Constructor for class com.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with both a prefix
Tuple and a
prefix byte string.
- subspace(Tuple) - Method in class com.foundationdb.subspace.Subspace
-
Gets a new subspace which is equivalent to this subspace with its prefix
Tuple extended by
the specified
Tuple.
- success(Future<V>) - Static method in class com.foundationdb.async.AsyncUtil
-
Maps the outcome of a task into a completion signal.
- success(PartialFuture<V>) - Static method in class com.foundationdb.async.AsyncUtil
-
Maps the outcome of a task into a completion signal.