Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractWorkload - Class in com.apple.foundationdb.testing
- AbstractWorkload(WorkloadContext) - Constructor for class com.apple.foundationdb.testing.AbstractWorkload
- add(boolean) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith abooleanappended as the last element. - add(byte[]) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith abytearray appended as the last element. - add(byte[], int, int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith abytearray appended as the last element. - add(double) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith adoubleappended as the last element. - add(float) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith afloatappended as the last element. - add(int) - Method in class com.apple.foundationdb.KeySelector
-
Returns a new
KeySelectoroffset by a given number of keys from this one. - add(long) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith alongappended as the last element. - add(Tuple) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith aTupleappended as the last element. - add(Versionstamp) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith aVersionstampobject appended as the last element. - add(String) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith aStringappended as the last element. - add(BigInteger) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith aBigIntegerappended as the last element. - add(List<?>) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith aListappended as the last element. - add(UUID) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith aUUIDappended as the last element. - ADD - Enum constant in enum class com.apple.foundationdb.MutationType
-
Performs an addition of little-endian integers.
- addAll(Tuple) - Method in class com.apple.foundationdb.tuple.Tuple
-
Create a copy of this
Tuplewith all elements from antherTupleappended. - addAll(List<?>) - Method in class com.apple.foundationdb.tuple.Tuple
-
Create a copy of this
Tuplewith a list of items appended. - addObject(Object) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuplewith an appended last element. - addReadConflictKey(byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Adds a key to the transaction's read conflict ranges as if you had read the key.
- addReadConflictKeyIfNotSnapshot(byte[]) - Method in interface com.apple.foundationdb.ReadTransaction
-
Adds the read conflict range that this
ReadTransactionwould have added as if it had read the given key. - addReadConflictRange(byte[], byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Adds a range of keys to the transaction's read conflict ranges as if you had read the range.
- addReadConflictRangeIfNotSnapshot(byte[], byte[]) - Method in interface com.apple.foundationdb.ReadTransaction
-
Adds the read conflict range that this
ReadTransactionwould have added as if it had read the given key range. - addWriteConflictKey(byte[]) - Method in interface com.apple.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.apple.foundationdb.Transaction
-
Adds a range of keys to the transaction's write conflict ranges as if you had cleared the range.
- AND - Enum constant in enum class com.apple.foundationdb.MutationType
-
Deprecated.
- ApiVersion - Class in com.apple.foundationdb
-
FDB API version constants
- ApiVersion() - Constructor for class com.apple.foundationdb.ApiVersion
- APPEND_IF_FITS - Enum constant in enum class com.apple.foundationdb.MutationType
-
Appends
paramto the end of the existing value already in the database at the given key (or creates the key and sets the value toparamif the key is empty). - applySafely(Function<I, ? extends CompletableFuture<O>>, I) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Run
Functionfunc, returning all caught exceptions as aCompletableFuturein an error state. - asList() - Method in interface com.apple.foundationdb.async.AsyncIterable
-
Asynchronously return the results of this operation as a
List. - AsyncIterable<T> - Interface in com.apple.foundationdb.async
-
A collection of elements that can be iterated over in a non-blocking fashion.
- AsyncIterator<T> - Interface in com.apple.foundationdb.async
-
A version of
Iteratorthat allows for non-blocking iteration over elements. - AsyncUtil - Class in com.apple.foundationdb.async
-
Provided utilities for using and manipulating
CompletableFutures.
B
- begin - Variable in class com.apple.foundationdb.Range
-
The beginning of the range.
- BIT_AND - Enum constant in enum class com.apple.foundationdb.MutationType
-
Performs a bitwise
andoperation. - BIT_OR - Enum constant in enum class com.apple.foundationdb.MutationType
-
Performs a bitwise
oroperation. - BIT_XOR - Enum constant in enum class com.apple.foundationdb.MutationType
-
Performs a bitwise
xoroperation. - blobbifyRange(byte[], byte[]) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.blobbifyRange(byte[] beginKey, byte[] endKey)on the default executor. - blobbifyRange(byte[], byte[]) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.blobbifyRange(byte[] beginKey, byte[] endKey)on the default executor. - blobbifyRange(byte[], byte[], Executor) - Method in interface com.apple.foundationdb.Database
-
Sets a range to be blobbified in the database.
- blobbifyRange(byte[], byte[], Executor) - Method in interface com.apple.foundationdb.Tenant
-
Sets a range to be blobbified in this tenant.
- blobbifyRangeBlocking(byte[], byte[]) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.blobbifyRange(byte[] beginKey, byte[] endKey, Executor e)on the default executor. - blobbifyRangeBlocking(byte[], byte[]) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.blobbifyRangeBlocking(byte[] beginKey, byte[] endKey, Executor e)on the default executor. - blobbifyRangeBlocking(byte[], byte[], Executor) - Method in interface com.apple.foundationdb.Database
-
Sets a range to be blobbified in the database.
- blobbifyRangeBlocking(byte[], byte[], Executor) - Method in interface com.apple.foundationdb.Tenant
-
Sets a range to be blobbified in this tenant.
- BYTE_MAX - Enum constant in enum class com.apple.foundationdb.MutationType
-
Performs lexicographic comparison of byte strings.
- BYTE_MIN - Enum constant in enum class com.apple.foundationdb.MutationType
-
Performs lexicographic comparison of byte strings.
- ByteArrayUtil - Class in com.apple.foundationdb.tuple
-
Utility functions for operating on byte arrays.
- BYTES_FETCHED - Enum constant in enum class com.apple.foundationdb.EventKeeper.Events
-
The total number of bytes pulled from the native layer, including length delimiters., from
ReadTransaction.get(byte[]),ReadTransaction.getKey(KeySelector),ReadTransaction.getRange(KeySelector, KeySelector)(and related method overrides), or any other read-type operation which occurs on a Transaction
C
- canBeSet() - Method in class com.apple.foundationdb.testing.Promise
- cancel() - Method in interface com.apple.foundationdb.async.AsyncIterator
-
Cancels any outstanding asynchronous work associated with this
AsyncIterator. - cancel() - Method in interface com.apple.foundationdb.async.Cancellable
-
Cancels this operation or signal.
- cancel() - Method in interface com.apple.foundationdb.async.CloseableAsyncIterator
-
Alias for
CloseableAsyncIterator.close(). - cancel() - Method in interface com.apple.foundationdb.Transaction
-
Cancels the
Transaction. - Cancellable - Interface in com.apple.foundationdb.async
-
Describes an operation or signal that can be cancelled.
- check(Database, Promise) - Method in class com.apple.foundationdb.testing.AbstractWorkload
- checkUnclosed(String) - Method in class com.apple.foundationdb.Cluster
- clear(byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Clears a given key from the database.
- clear(byte[], byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Clears a range of keys in the database.
- clear(Range) - Method in interface com.apple.foundationdb.Transaction
-
Clears a range of keys in the database.
- clearRangeStartsWith(byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Deprecated.
- CloneableException - Interface in com.apple.foundationdb.async
-
An
Exceptionthat can be duplicated with a new backtrace. - close() - Method in interface com.apple.foundationdb.async.CloseableAsyncIterator
-
Cancels any outstanding asynchronous work, closes the iterator, and frees any associated resources.
- close() - Method in interface com.apple.foundationdb.Database
-
Close the
Databaseobject and release any associated resources. - close() - Method in class com.apple.foundationdb.Cluster
- close() - Method in interface com.apple.foundationdb.Tenant
-
Close the
Tenantobject and release any associated resources. - close() - Method in interface com.apple.foundationdb.Transaction
-
Close the
Transactionobject and release any associated resources. - CloseableAsyncIterator<T> - Interface in com.apple.foundationdb.async
-
A version of
AsyncIteratorthat must be closed once no longer in use in order to free any associated resources. - closeInternal(long) - Method in class com.apple.foundationdb.Cluster
-
Deprecated.
- Cluster - Class in com.apple.foundationdb
-
Deprecated.
- Cluster(String, Executor) - Constructor for class com.apple.foundationdb.Cluster
-
Deprecated.
- ClusterOptions - Class in com.apple.foundationdb
-
Deprecated.There are no cluster options.
- ClusterOptions(OptionConsumer) - Constructor for class com.apple.foundationdb.ClusterOptions
-
Deprecated.
- code() - Method in enum class com.apple.foundationdb.MutationType
-
Gets the FoundationDB native-level constant code for a
MutationType. - code() - Method in enum class com.apple.foundationdb.StreamingMode
-
Gets the FoundationDB native-level constant code for a
StreamingMode. - collect(AsyncIterable<V>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Iterates over a stream of items and returns the result as a list.
- collect(AsyncIterable<V>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Iterates over a set of items and returns the result as a list.
- collectRemaining(AsyncIterator<V>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Iterates over a set of items and returns the remaining results as a list.
- collectRemaining(AsyncIterator<V>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Iterates over a set of items and returns the remaining results as a list.
- com.apple.foundationdb - package com.apple.foundationdb
-
Provides an API for the FoundationDB transactional key/value store.
- com.apple.foundationdb.async - package com.apple.foundationdb.async
-
Provides additional constructs for asynchronous programming against Java's
CompletableFutures. - com.apple.foundationdb.directory - package com.apple.foundationdb.directory
-
Provides tools for managing hierarchically related key subspaces.
- com.apple.foundationdb.subspace - package com.apple.foundationdb.subspace
-
Provides a convenient way to define namespaces for different categories of data.
- com.apple.foundationdb.testing - package com.apple.foundationdb.testing
- com.apple.foundationdb.tuple - package com.apple.foundationdb.tuple
-
Provides a set of utilities for serializing and deserializing typed data for use in FoundationDB.
- commit() - Method in interface com.apple.foundationdb.Transaction
-
Commit this
Transaction. - comparator() - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
- compare(Iterable<?>, Iterable<?>) - Method in class com.apple.foundationdb.tuple.IterableComparator
-
Compare two
Iterables in a way consistent with their byte representation. - COMPARE_AND_CLEAR - Enum constant in enum class com.apple.foundationdb.MutationType
-
Performs an atomic
compare and clearoperation. - compareTo(byte[], int, int, byte[], int, int) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Lexicographically compare two byte arrays.
- compareTo(Tuple) - Method in class com.apple.foundationdb.tuple.Tuple
-
Compare the byte-array representation of this
Tupleagainst another. - compareTo(Versionstamp) - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Compares two
Versionstampinstances in a manner consistent with their key order when serialized in the database as keys. - compareUnsigned(byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Compare byte arrays for equality and ordering purposes.
- complete(byte[]) - Static method in class com.apple.foundationdb.tuple.Versionstamp
-
Creates a complete
Versionstampinstance with the given transaction and default user versions. - complete(byte[], int) - Static method in class com.apple.foundationdb.tuple.Versionstamp
-
Creates a complete
Versionstampinstance with the given transaction and user versions. - composeExceptionally(CompletableFuture<V>, Function<Throwable, CompletableFuture<V>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Composes an asynchronous task with an exception-handler that returns a
CompletableFutureof the same type. - composeHandle(CompletableFuture<V>, BiFunction<V, Throwable, ? extends CompletableFuture<T>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Compose a handler bi-function to the result of a future.
- composeHandleAsync(CompletableFuture<V>, BiFunction<V, Throwable, ? extends CompletableFuture<T>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Compose a handler bi-function to the result of a future.
- composeHandleAsync(CompletableFuture<V>, BiFunction<V, Throwable, ? extends CompletableFuture<T>>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Compose a handler bi-function to the result of a future.
- contains(byte[]) - Method in class com.apple.foundationdb.subspace.Subspace
-
Tests whether the specified key starts with this
Subspace's prefix, indicating that theSubspacelogically contains key. - context - Variable in class com.apple.foundationdb.testing.AbstractWorkload
- count(EventKeeper.Event, long) - Method in interface com.apple.foundationdb.EventKeeper
-
Count the number of events which occurred.
- count(EventKeeper.Event, long) - Method in class com.apple.foundationdb.MapEventKeeper
- create(TransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates a subdirectory of this
Directorylocated atsubpath(creating parent directories if necessary). - create(TransactionContext, List<String>, byte[]) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates a subdirectory of this
Directorylocated atsubpath(creating parent directories if necessary). - create(TransactionContext, List<String>, byte[], byte[]) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates a subdirectory of this
Directorylocated atsubpath(creating parent directories if necessary). - create(TransactionContext, List<String>, byte[], byte[]) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Creates a directory located at
path(creating parent directories if necessary). - create(TransactionContext, List<String>, byte[], byte[]) - Method in class com.apple.foundationdb.directory.DirectorySubspace
- createCluster() - Method in class com.apple.foundationdb.FDB
-
Deprecated.Use
FDB.open()instead. - createCluster(String) - Method in class com.apple.foundationdb.FDB
-
Deprecated.Use
FDB.open(String)instead. - createCluster(String, Executor) - Method in class com.apple.foundationdb.FDB
-
Deprecated.Use
FDB.open(String, Executor)instead. - createOrOpen(TransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates or opens the subdirectory of this
Directorylocated atsubpath(creating parent directories, if necessary). - createOrOpen(TransactionContext, List<String>, byte[]) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates or opens the subdirectory of this
Directorylocated atsubpath(creating parent directories, if necessary). - createOrOpen(TransactionContext, List<String>, byte[]) - Method in class com.apple.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.apple.foundationdb.directory.DirectorySubspace
- createTenant(Database, byte[]) - Static method in class com.apple.foundationdb.TenantManagement
-
Creates a new tenant in the cluster using a transaction created on the specified
Database. - createTenant(Database, Tuple) - Static method in class com.apple.foundationdb.TenantManagement
-
Creates a new tenant in the cluster using a transaction created on the specified
Database. - createTenant(Transaction, byte[]) - Static method in class com.apple.foundationdb.TenantManagement
-
Creates a new tenant in the cluster.
- createTenant(Transaction, Tuple) - Static method in class com.apple.foundationdb.TenantManagement
-
Creates a new tenant in the cluster.
- createTransaction() - Method in interface com.apple.foundationdb.Database
-
Creates a
Transactionthat operates on thisDatabase. - createTransaction() - Method in interface com.apple.foundationdb.Tenant
-
Creates a
Transactionthat operates on thisTenant.
Note: Java transactions automatically set theTransactionOptions.setUsedDuringCommitProtectionDisable()option. - createTransaction(Executor) - Method in interface com.apple.foundationdb.Database
-
Creates a
Transactionthat operates on thisDatabasewith the givenExecutorfor asynchronous callbacks. - createTransaction(Executor) - Method in interface com.apple.foundationdb.Tenant
-
Creates a
Transactionthat operates on thisTenantwith the givenExecutorfor asynchronous callbacks. - createTransaction(Executor, EventKeeper) - Method in interface com.apple.foundationdb.Database
-
Creates a
Transactionthat operates on thisDatabasewith the givenExecutorfor asynchronous callbacks. - createTransaction(Executor, EventKeeper) - Method in interface com.apple.foundationdb.Tenant
-
Creates a
Transactionthat operates on thisTenantwith the givenExecutorfor asynchronous callbacks. - createWithContentSubspace(Subspace) - Static method in class com.apple.foundationdb.directory.DirectoryLayer
-
Creates a new
DirectoryLayerformed with a default node subspace and specified content subspace. - createWithNodeSubspace(Subspace) - Static method in class com.apple.foundationdb.directory.DirectoryLayer
-
Creates a new
DirectoryLayerformed with a specified node subspace and default content subspace.
D
- Database - Interface in com.apple.foundationdb
-
A mutable, lexicographically ordered mapping from binary keys to binary values.
- DatabaseOptions - Class in com.apple.foundationdb
-
A set of options that can be set on a
Database. - DatabaseOptions(OptionConsumer) - Constructor for class com.apple.foundationdb.DatabaseOptions
- decodeInt(byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Decode a little-endian encoded long integer from an 8-byte array.
- DEFAULT_CONTENT_SUBSPACE - Static variable in class com.apple.foundationdb.directory.DirectoryLayer
-
The default content
Subspaceused by aDirectoryLayerwhen none is specified. - DEFAULT_EXECUTOR - Static variable in class com.apple.foundationdb.FDB
- DEFAULT_NODE_SUBSPACE - Static variable in class com.apple.foundationdb.directory.DirectoryLayer
-
The default node
Subspaceused by aDirectoryLayerwhen none is specified. - deleteTenant(Database, byte[]) - Static method in class com.apple.foundationdb.TenantManagement
-
Deletes a tenant from the cluster using a transaction created on the specified
Database. - deleteTenant(Database, Tuple) - Static method in class com.apple.foundationdb.TenantManagement
-
Deletes a tenant from the cluster using a transaction created on the specified
Database. - deleteTenant(Transaction, byte[]) - Static method in class com.apple.foundationdb.TenantManagement
-
Deletes a tenant from the cluster.
- deleteTenant(Transaction, Tuple) - Static method in class com.apple.foundationdb.TenantManagement
-
Deletes a tenant from the cluster.
- destPath - Variable in exception com.apple.foundationdb.directory.DirectoryMoveException
-
The path that the directory was being moved to.
- Directory - Interface in com.apple.foundationdb.directory
-
Represents a directory in the
DirectoryLayer. - DirectoryAlreadyExistsException - Exception in com.apple.foundationdb.directory
-
A
DirectoryExceptionthat is thrown when a directory is being created at or moved to a location that already has a directory present. - DirectoryException - Exception in com.apple.foundationdb.directory
-
An
Exceptionthat is thrown by the directory layer corresponding to a specific path. - DirectoryLayer - Class in com.apple.foundationdb.directory
-
Provides a class for managing directories in FoundationDB.
- DirectoryLayer() - Constructor for class com.apple.foundationdb.directory.DirectoryLayer
-
Constructor for a
DirectoryLayerformed with default node and content subspaces. - DirectoryLayer(boolean) - Constructor for class com.apple.foundationdb.directory.DirectoryLayer
-
Constructor for a
DirectoryLayerformed with default node and content subspaces. - DirectoryLayer(Subspace, Subspace) - Constructor for class com.apple.foundationdb.directory.DirectoryLayer
-
Constructor for a
DirectoryLayerformed with a specified node subspace and specified content subspace. - DirectoryLayer(Subspace, Subspace, boolean) - Constructor for class com.apple.foundationdb.directory.DirectoryLayer
-
Constructor for a
DirectoryLayerformed with a specified node subspace and specified content subspace. - DirectoryMoveException - Exception in com.apple.foundationdb.directory
-
An
Exceptionthat is thrown when an invalid directory move is attempted. - DirectorySubspace - Class in com.apple.foundationdb.directory
-
A DirectorySubspace represents the contents of a directory, but it also remembers the path with which it was opened and offers convenience methods to operate on the directory at that path.
- DirectoryVersionException - Exception in com.apple.foundationdb.directory
-
An
Exceptionthat is thrown when the version of the directory layer used to create directories in the database is incompatible with this version of the directory layer. - disableShutdownHook() - Method in class com.apple.foundationdb.FDB
-
Disables shutdown hook that stops network thread upon process shutdown.
- DONE - Static variable in class com.apple.foundationdb.async.AsyncUtil
-
A completed future of type
Void.
E
- EMPTY_BYTES - Static variable in class com.apple.foundationdb.tuple.ByteArrayUtil
-
A zero-length byte array.
- enableDirectBufferQuery(boolean) - Method in class com.apple.foundationdb.FDB
-
Enables or disables use of DirectByteBuffers for getRange() queries.
- encodeInt(long) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Encode an 64-bit integer (long) into a byte array.
- end - Variable in class com.apple.foundationdb.Range
-
The end of the range.
- equals(Object) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Tests whether this
DirectoryLayeris equal torhs. - equals(Object) - Method in class com.apple.foundationdb.directory.DirectorySubspace
-
Returns whether this
DirectorySubspaceis equal torhs. - equals(Object) - Method in class com.apple.foundationdb.KeyValue
- equals(Object) - Method in class com.apple.foundationdb.MappedKeyValue
- equals(Object) - Method in class com.apple.foundationdb.Range
-
Returns
trueif the givenObjectis aRangeobject that refers to the same key range within the keyspace. - equals(Object) - Method in class com.apple.foundationdb.subspace.Subspace
-
Returns true if this
Subspaceis equal torhs. - equals(Object) - Method in class com.apple.foundationdb.tuple.Tuple
-
Tests for equality with another
Tuple. - equals(Object) - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Check another object for equality.
- evalErrorPredicate(int, int) - Static method in class com.apple.foundationdb.FDB
- EventKeeper - Interface in com.apple.foundationdb
-
A device for externally instrumenting the FDB java driver, for monitoring purposes.
- EventKeeper.Event - Interface in com.apple.foundationdb
-
Marker interface for tracking the specific type of event that occurs, and metadata about said event.
- EventKeeper.Events - Enum Class in com.apple.foundationdb
-
An enumeration of static events which occur within the FDB Java driver.
- EXACT - Enum constant in enum class com.apple.foundationdb.StreamingMode
-
Infrequently used.
- exists(ReadTransactionContext) - Method in interface com.apple.foundationdb.directory.Directory
-
Checks if this
Directoryexists. - exists(ReadTransactionContext) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Returns
true. - exists(ReadTransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Checks if the subdirectory of this
Directorylocated atsubpathexists. - exists(ReadTransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Checks if the directory located at
pathexists. - exists(ReadTransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectorySubspace
- exportLibrary(String) - Static method in class com.apple.foundationdb.JNIUtil
-
Export a library from classpath resources to a temporary file.
- extend(List<String>, String...) - Static method in class com.apple.foundationdb.directory.PathUtil
-
Extends a path by an arbitrary number of elements.
F
- FDB - Class in com.apple.foundationdb
-
The starting point for accessing FoundationDB.
- FDBException - Exception in com.apple.foundationdb
-
An Error from the native layers of FoundationDB.
- FDBException(String, int) - Constructor for exception com.apple.foundationdb.FDBException
-
A general constructor.
- firstGreaterOrEqual(byte[]) - Static method in class com.apple.foundationdb.KeySelector
-
Creates a
KeySelectorthat picks the first key greater than or equal to the parameter - firstGreaterThan(byte[]) - Static method in class com.apple.foundationdb.KeySelector
-
Creates a
KeySelectorthat picks the first key greater than the parameter - flushBlobRange(byte[], byte[], boolean) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.flushBlobRange(byte[] beginKey, byte[] endKey, boolean compact, long version, Executor e)on the default executor. - flushBlobRange(byte[], byte[], boolean) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.flushBlobRange(byte[] beginKey, byte[] endKey, boolean compact, long version, Executor e)on the default executor. - flushBlobRange(byte[], byte[], boolean, long) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.flushBlobRange(byte[] beginKey, byte[] endKey, boolean compact, long version, Executor e)on the default executor. - flushBlobRange(byte[], byte[], boolean, long) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.flushBlobRange(byte[] beginKey, byte[] endKey, boolean compact, long version, Executor e)on the default executor. - flushBlobRange(byte[], byte[], boolean, long, Executor) - Method in interface com.apple.foundationdb.Database
-
Checks if a blob range is blobbified.
- flushBlobRange(byte[], byte[], boolean, long, Executor) - Method in interface com.apple.foundationdb.Tenant
-
Checks if a blob range is blobbified.
- forEach(AsyncIterable<V>, Consumer<? super V>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Run the
consumeron each element of the iterable in order. - forEach(AsyncIterable<V>, Consumer<? super V>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Run the
consumeron each element of the iterable in order. - forEachRemaining(AsyncIterator<V>, Consumer<? super V>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Run the
consumeron each element remaining in the iterator in order. - forEachRemaining(AsyncIterator<V>, Consumer<? super V>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Run the
consumeron each element remaining if the iterator in order. - from(Object...) - Static method in class com.apple.foundationdb.tuple.Tuple
-
Creates a new
Tuplefrom a variable number of elements. - from(String...) - Static method in class com.apple.foundationdb.directory.PathUtil
-
Creates a new path from an arbitrary number of elements.
- fromBytes(byte[]) - Static method in class com.apple.foundationdb.tuple.Tuple
-
Construct a new
Tuplewith elements decoded from a suppliedbytearray. - fromBytes(byte[]) - Static method in class com.apple.foundationdb.tuple.Versionstamp
-
Creates a
Versionstampinstance based on the given byte array representation. - fromBytes(byte[], int[]) - Static method in class com.apple.foundationdb.MappedKeyValue
- fromBytes(byte[], int, int) - Static method in class com.apple.foundationdb.tuple.Tuple
-
Construct a new
Tuplewith elements decoded from a suppliedbytearray. - fromItems(Iterable<?>) - Static method in class com.apple.foundationdb.tuple.Tuple
-
Creates a new
Tuplefrom a variable number of elements. - fromList(List<?>) - Static method in class com.apple.foundationdb.tuple.Tuple
-
Efficiently creates a new
Tuplefrom a list of objects. - fromStream(Stream<?>) - Static method in class com.apple.foundationdb.tuple.Tuple
-
Efficiently creates a new
Tuplefrom aStreamof objects.
G
- get(byte[]) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets a value from the database.
- get(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item without forcing a type.
- get(Tuple) - Method in class com.apple.foundationdb.subspace.Subspace
- get(Object) - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets a new subspace which is equivalent to this subspace with its prefix
Tupleextended by the specifiedObject. - getAddressesForKey(Transaction, byte[]) - Static method in class com.apple.foundationdb.LocalityUtil
-
Returns a list of public network addresses as strings, one for each of the storage servers responsible for storing
keyand its associated value. - getAll(Collection<CompletableFuture<V>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Collects the results of many asynchronous processes into one asynchronous output.
- getAPIVersion() - Method in class com.apple.foundationdb.FDB
-
Returns the API version that was selected by the
selectAPIVersion()call. - getApproximateSize() - Method in interface com.apple.foundationdb.Transaction
-
Returns a future that will contain the approximated size of the commit, which is the summation of mutations, read conflict ranges, and write conflict ranges.
- getBigInteger(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
BigInteger. - getBlobGranuleRanges(byte[], byte[], int) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets the blob granule ranges for a given region.
- getBoolean(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
boolean. - getBoundaryKeys(Database, byte[], byte[]) - Static method in class com.apple.foundationdb.LocalityUtil
-
Returns a
CloseableAsyncIteratorof keysksuch thatbegin <= k < endandkis 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.apple.foundationdb.LocalityUtil
-
Returns a
CloseableAsyncIteratorof keysksuch thatbegin <= k < endandkis located at the start of a contiguous range stored on a single server.
This method is not transactional. - getBytes() - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Retrieve a byte-array representation of this
Versionstamp. - getBytes(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
byte[]. - getCheckTimeout() - Method in class com.apple.foundationdb.testing.AbstractWorkload
- getClientCount() - Method in class com.apple.foundationdb.testing.WorkloadContext
- getClientID() - Method in class com.apple.foundationdb.testing.WorkloadContext
- getClientStatus() - Method in interface com.apple.foundationdb.Database
-
Returns client-side status information
- getClientStatus(Executor) - Method in interface com.apple.foundationdb.Database
-
Returns client-side status information
- getCode() - Method in exception com.apple.foundationdb.FDBException
-
Gets the code for this error.
- getCommittedVersion() - Method in interface com.apple.foundationdb.Transaction
-
Gets the version number at which a successful commit modified the database.
- getCount(EventKeeper.Event) - Method in interface com.apple.foundationdb.EventKeeper
-
Get the number of events which occurred since this timer was created.
- getCount(EventKeeper.Event) - Method in class com.apple.foundationdb.MapEventKeeper
- getDatabase() - Method in interface com.apple.foundationdb.Transaction
-
Returns the
Databasethat thisTransactionis interacting with. - getDefault() - Static method in class com.apple.foundationdb.directory.DirectoryLayer
-
Gets the default instance of the DirectoryLayer.
- getDirectoryLayer() - Method in interface com.apple.foundationdb.directory.Directory
-
Get the
DirectoryLayerthat was used to create thisDirectory. - getDirectoryLayer() - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Returns
this. - getDirectoryLayer() - Method in class com.apple.foundationdb.directory.DirectorySubspace
- getDouble(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
double. - getEstimatedRangeSizeBytes(byte[], byte[]) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an estimate for the number of bytes stored in the given range.
- getEstimatedRangeSizeBytes(Range) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an estimate for the number of bytes stored in the given range.
- getExecutor() - Method in interface com.apple.foundationdb.ReadTransactionContext
-
Retrieves the
Executorused by thisTransactionContextwhen running asynchronous callbacks. - getExecutor() - Method in class com.apple.foundationdb.testing.AbstractWorkload
- getFloat(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
float. - getFormatCode() - Method in class com.apple.foundationdb.testing.PerfMetric
- getId() - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.getId()on the default executor. - getId(Executor) - Method in interface com.apple.foundationdb.Tenant
-
Returns the tenant ID of this tenant.
- getItems() - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets the unserialized contents of this
Tuple. - getKey() - Method in class com.apple.foundationdb.KeySelector
-
Returns a copy of the key that serves as the anchor for this
KeySelector. - getKey() - Method in class com.apple.foundationdb.KeyValue
-
Gets the key from the pair.
- getKey() - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets the key encoding the prefix used for this
Subspace. - getKey(KeySelector) - Method in interface com.apple.foundationdb.ReadTransaction
-
Returns the key referenced by the specified
KeySelector. - getKeyRanges() - Method in class com.apple.foundationdb.KeyRangeArrayResult
- getKeys() - Method in class com.apple.foundationdb.KeyArrayResult
- getLayer() - Method in interface com.apple.foundationdb.directory.Directory
-
Gets the layer byte string that was stored when this
Directorywas created. - getLayer() - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Returns the layer byte string for this
DirectoryLayer, which is always an empty array. - getLayer() - Method in class com.apple.foundationdb.directory.DirectorySubspace
- getLong(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
long. - getMainThreadBusyness() - Method in interface com.apple.foundationdb.Database
-
Returns a value which indicates the saturation of the client
Note: By default, this value is updated every second - getMappedRange(KeySelector, KeySelector, byte[], int, boolean, StreamingMode) - Method in interface com.apple.foundationdb.ReadTransaction
-
WARNING: This feature is considered experimental at this time.
- getMetrics() - Method in class com.apple.foundationdb.testing.AbstractWorkload
- getName() - Method in interface com.apple.foundationdb.Tenant
-
Returns the name of this
Tenant. - getName() - Method in class com.apple.foundationdb.testing.PerfMetric
- getNestedList(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
List. - getNestedTuple(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
Tuple. - getOffset() - Method in class com.apple.foundationdb.KeySelector
-
Returns the key offset parameter for this
KeySelector. - getOption(String, boolean) - Method in class com.apple.foundationdb.testing.WorkloadContext
- getOption(String, double) - Method in class com.apple.foundationdb.testing.WorkloadContext
- getOption(String, long) - Method in class com.apple.foundationdb.testing.WorkloadContext
- getOption(String, String) - Method in class com.apple.foundationdb.testing.WorkloadContext
- getOptionConsumer() - Method in class com.apple.foundationdb.ClusterOptions
-
Returns the object on which these options are being set.
- getPackedSize() - Method in class com.apple.foundationdb.tuple.Tuple
-
Get the number of bytes in the packed representation of this
Tuple. - getPath() - Method in interface com.apple.foundationdb.directory.Directory
-
Gets the path represented by this
Directory. - getPath() - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Gets the path for the root node of this
DirectoryLayer. - getPath() - Method in class com.apple.foundationdb.directory.DirectorySubspace
- getProcessID() - Method in class com.apple.foundationdb.testing.WorkloadContext
- getPtr() - Method in class com.apple.foundationdb.Cluster
- getRange(byte[], byte[]) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[], int) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[], int, boolean) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[], int, boolean, StreamingMode) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector, int) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector, int, boolean) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector, int, boolean, StreamingMode) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range, int) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range, int, boolean) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range, int, boolean, StreamingMode) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRangeBegin() - Method in class com.apple.foundationdb.MappedKeyValue
- getRangeEnd() - Method in class com.apple.foundationdb.MappedKeyValue
- getRangeResult() - Method in class com.apple.foundationdb.MappedKeyValue
- getRangeSplitPoints(byte[], byte[], long) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets a list of keys that can split the given range into (roughly) equally sized chunks based on
chunkSize. - getRangeSplitPoints(Range, long) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets a list of keys that can split the given range into (roughly) equally sized chunks based on
chunkSizeNote: the returned split points contain the start key and end key of the given range. - getReadVersion() - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets the version at which the reads for this
Transactionwill access the database. - getSharedRandomNumber() - Method in class com.apple.foundationdb.testing.WorkloadContext
- getString(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
String. - getTime(EventKeeper.Event, TimeUnit) - Method in interface com.apple.foundationdb.EventKeeper
-
Get the amount of time taken by this event, in the specified units.
- getTimeNanos(EventKeeper.Event) - Method in interface com.apple.foundationdb.EventKeeper
-
Get the amount of time taken by this event, in nanoseconds.
- getTimeNanos(EventKeeper.Event) - Method in class com.apple.foundationdb.MapEventKeeper
- getTransactionVersion() - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Retrieve the portion of this
Versionstampthat is set by the database. - getUserVersion() - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Retrieve the portion of this
Versionstampthat is set by the user. - getUUID(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
UUID. - getValue() - Method in class com.apple.foundationdb.KeyValue
-
Gets the value from the pair.
- getValue() - Method in class com.apple.foundationdb.testing.PerfMetric
- getVersionstamp() - Method in interface com.apple.foundationdb.Transaction
-
Returns a future which will contain the versionstamp which was used by any versionstamp operations in this transaction.
- getVersionstamp(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
Versionstamp.
H
- hashCode() - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Produces a hash of this
DirectoryLayerbased on its path and subspaces. - hashCode() - Method in class com.apple.foundationdb.directory.DirectorySubspace
-
Computes a hash code compatible with the
equals()method of this class. - hashCode() - Method in class com.apple.foundationdb.KeyValue
- hashCode() - Method in class com.apple.foundationdb.MappedKeyValue
- hashCode() - Method in class com.apple.foundationdb.Range
- hashCode() - Method in class com.apple.foundationdb.subspace.Subspace
-
Returns a hash-table compatible hash of this subspace.
- hashCode() - Method in class com.apple.foundationdb.tuple.Tuple
-
Returns a hash code value for this
Tuple. - hashCode() - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Hash code for this
Versionstamp. - hasIncompleteVersionstamp() - Method in class com.apple.foundationdb.tuple.Tuple
-
Determines if there is a
Versionstampincluded in thisTuplethat has not had its transaction version set. - hasNext() - Method in interface com.apple.foundationdb.async.AsyncIterator
-
Blocking call to determine if the sequence contains more elements.
I
- incomplete() - Static method in class com.apple.foundationdb.tuple.Versionstamp
-
Creates an incomplete
Versionstampinstance with the default user version. - incomplete(int) - Static method in class com.apple.foundationdb.tuple.Versionstamp
-
Creates an incomplete
Versionstampinstance with the given user version. - increment(EventKeeper.Event) - Method in interface com.apple.foundationdb.EventKeeper
-
Convenience method to add 1 to the number of events which occurred.
- instance() - Static method in class com.apple.foundationdb.FDB
-
Return the instance of the FDB API singleton.
- interludeJoin(byte[], byte[][]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Joins a set of byte arrays into a larger array.
- isAPIVersionSelected() - Static method in class com.apple.foundationdb.FDB
-
Determines if the API version has already been selected.
- isAveraged() - Method in class com.apple.foundationdb.testing.PerfMetric
- isClosed() - Method in class com.apple.foundationdb.Cluster
- isComplete() - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Whether this
Versionstamp's transaction version is meaningful. - isDirectBufferQueriesEnabled() - Method in class com.apple.foundationdb.FDB
-
Determines whether
getRange()queries can useDirectByteBufferfromDirectBufferPoolto copy results. - isEmpty() - Method in class com.apple.foundationdb.tuple.Tuple
-
Determine if this
Tuplecontains no elements. - isMaybeCommitted() - Method in exception com.apple.foundationdb.FDBException
-
Returns
trueif the error indicates the transaction may have succeeded, though not in a way the system can verify. - isRetryable() - Method in exception com.apple.foundationdb.FDBException
-
Returns
trueif the error indicates the operations in the transactions should be retried because of transient error. - isRetryableNotCommitted() - Method in exception com.apple.foundationdb.FDBException
-
Returns
trueif the error indicates the transaction has not committed, though in a way that can be retried. - isSnapshot() - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets whether this transaction is a snapshot view of the database.
- isSuccess() - Method in exception com.apple.foundationdb.FDBException
-
Determine if this
FDBExceptionrepresents a success code from the native layer. - isTimeEvent() - Method in interface com.apple.foundationdb.EventKeeper.Event
- IterableComparator - Class in com.apple.foundationdb.tuple
-
A
Tuple-compatibleComparatorthat will sortIterables in a manner that is consistent with the byte-representation ofTuples. - IterableComparator() - Constructor for class com.apple.foundationdb.tuple.IterableComparator
-
Creates a new
IterableComparator. - iterator() - Method in interface com.apple.foundationdb.async.AsyncIterable
-
Gets a non-blocking iterator to be used to enumerate all values.
- iterator() - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an
Iteratorover theObjectsin thisTuple. - ITERATOR - Enum constant in enum class com.apple.foundationdb.StreamingMode
-
The default.
J
- JNI_CALL - Enum constant in enum class com.apple.foundationdb.EventKeeper.Events
-
The number of JNI calls that were exercised.
- JNIUtil - Class in com.apple.foundationdb
-
Utility for loading a dynamic library from the classpath.
- join(byte[]...) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Joins a variable number of byte arrays into one larger array.
- join(byte[], List<byte[]>) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Joins a set of byte arrays into a larger array.
- join(List<String>, List<String>) - Static method in class com.apple.foundationdb.directory.PathUtil
-
Joins two paths into one larger path.
K
- keyAfter(byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Computes the key that would sort immediately after
key. - KeyArrayResult - Class in com.apple.foundationdb
- KeyArrayResult(byte[], int[]) - Constructor for class com.apple.foundationdb.KeyArrayResult
- KeyRangeArrayResult - Class in com.apple.foundationdb
- KeyRangeArrayResult(Range[]) - Constructor for class com.apple.foundationdb.KeyRangeArrayResult
- KeySelector - Class in com.apple.foundationdb
-
A
KeySelectoridentifies a particular key in the database. - KeySelector(byte[], boolean, int) - Constructor for class com.apple.foundationdb.KeySelector
-
Constructs a new
KeySelectorfrom the given parameters. - KeyValue - Class in com.apple.foundationdb
-
A key/value pair.
- KeyValue(byte[], byte[]) - Constructor for class com.apple.foundationdb.KeyValue
-
Constructs a new
KeyValuefrom the specified key and value.
L
- LARGE - Enum constant in enum class com.apple.foundationdb.StreamingMode
-
Infrequently used.
- lastLessOrEqual(byte[]) - Static method in class com.apple.foundationdb.KeySelector
-
Creates a
KeySelectorthat picks the last key less than or equal to the parameter - lastLessThan(byte[]) - Static method in class com.apple.foundationdb.KeySelector
-
Creates a
KeySelectorthat picks the last key less than the parameter - LATEST - Static variable in class com.apple.foundationdb.ApiVersion
-
The latest API version supported by the bindings
- LENGTH - Static variable in class com.apple.foundationdb.tuple.Versionstamp
-
Length of a serialized
Versionstampinstance when converted into a byte array. - list(ReadTransactionContext) - Method in interface com.apple.foundationdb.directory.Directory
-
List the subdirectories of this directory.
- list(ReadTransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
List the subdirectories of this directory at a given
subpath. - list(ReadTransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
List the subdirectories of the directory at a given
path. - list(ReadTransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectorySubspace
- listBlobbifiedRanges(byte[], byte[], int) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.listBlobbifiedRanges(byte[] beginKey, byte[] endKey, int rangeLimit)on the default executor. - listBlobbifiedRanges(byte[], byte[], int) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.listBlobbifiedRanges(byte[] beginKey, byte[] endKey, int rangeLimit)on the default executor. - listBlobbifiedRanges(byte[], byte[], int, Executor) - Method in interface com.apple.foundationdb.Database
-
Lists blobbified ranges in the database.
- listBlobbifiedRanges(byte[], byte[], int, Executor) - Method in interface com.apple.foundationdb.Tenant
-
Lists blobbified ranges in this tenant.
- listTenants(Database, byte[], byte[], int) - Static method in class com.apple.foundationdb.TenantManagement
-
Lists all tenants in between the range specified.
- listTenants(Database, Tuple, Tuple, int) - Static method in class com.apple.foundationdb.TenantManagement
-
Lists all tenants in between the range specified.
- LocalityUtil - Class in com.apple.foundationdb
-
The FoundationDB API comes with a set of functions for discovering the storage locations of keys within your cluster.
- log(int, String, Map<String, String>) - Static method in class com.apple.foundationdb.testing.AbstractWorkload
M
- MapEventKeeper - Class in com.apple.foundationdb
-
A simple map-based EventKeeper.
- MapEventKeeper() - Constructor for class com.apple.foundationdb.MapEventKeeper
- mapIterable(AsyncIterable<V>, Function<V, T>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Map an
AsyncIterableinto anAsyncIterableof another type or with each element modified in some fashion. - mapIterator(AsyncIterator<V>, Function<V, T>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Map an
AsyncIteratorinto anAsyncIteratorof another type or with each element modified in some fashion. - mapIterator(CloseableAsyncIterator<V>, Function<V, T>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Map a
CloseableAsyncIteratorinto aCloseableAsyncIteratorof another type or with each element modified in some fashion. - MappedKeyValue - Class in com.apple.foundationdb
- MappedKeyValue(byte[], byte[], byte[], byte[], List<KeyValue>) - Constructor for class com.apple.foundationdb.MappedKeyValue
- MAX - Enum constant in enum class com.apple.foundationdb.MutationType
-
Performs a little-endian comparison of byte strings.
- MEDIUM - Enum constant in enum class com.apple.foundationdb.StreamingMode
-
Infrequently used.
- MIN - Enum constant in enum class com.apple.foundationdb.MutationType
-
Performs a little-endian comparison of byte strings.
- MismatchedLayerException - Exception in com.apple.foundationdb.directory
-
A
DirectoryExceptionthat is thrown when a directory is opened with an incompatible layer. - move(TransactionContext, List<String>, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Moves the subdirectory of this
Directorylocated atoldSubpathtonewSubpath. - move(TransactionContext, List<String>, List<String>) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Moves the directory located at
oldPathtonewPath. - move(TransactionContext, List<String>, List<String>) - Method in class com.apple.foundationdb.directory.DirectorySubspace
- moveTo(TransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Moves this
Directoryto the specifiednewAbsolutePath. - moveTo(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
This method should not be called on a
DirectoryLayer. - moveTo(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectorySubspace
- mutate(MutationType, byte[], byte[]) - Method in interface com.apple.foundationdb.Transaction
-
An atomic operation is a single database command that carries out several logical steps: reading the value of a key, performing a transformation on that value, and writing the result.
- MutationType - Enum Class in com.apple.foundationdb
-
A set of operations that can be performed atomically on a database.
N
- name() - Method in interface com.apple.foundationdb.EventKeeper.Event
- NetworkOptions - Class in com.apple.foundationdb
-
A set of options that can be set globally for the
FoundationDB API. - NetworkOptions(OptionConsumer) - Constructor for class com.apple.foundationdb.NetworkOptions
- next() - Method in interface com.apple.foundationdb.async.AsyncIterator
-
Returns the next element in the sequence.
- NoSuchDirectoryException - Exception in com.apple.foundationdb.directory
-
A
DirectoryExceptionthat is thrown when a directory that doesn't exist is used.
O
- onError(Throwable) - Method in interface com.apple.foundationdb.Transaction
-
Resets a transaction and returns a delayed signal for error recovery.
- onHasNext() - Method in interface com.apple.foundationdb.async.AsyncIterator
-
Returns a asynchronous signal for the presence of more elements in the sequence.
- open() - Method in class com.apple.foundationdb.FDB
-
Initializes networking if required and connects to the cluster specified by the default fdb.cluster file.
A single client can use this function multiple times to connect to different clusters simultaneously, with each invocation requiring its own cluster file. - open(ReadTransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Opens the subdirectory of this
Directorylocated atsubpath. - open(ReadTransactionContext, List<String>, byte[]) - Method in interface com.apple.foundationdb.directory.Directory
-
Opens the subdirectory of this
Directorylocated atsubpath. - open(ReadTransactionContext, List<String>, byte[]) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Opens the directory located at
path. - open(ReadTransactionContext, List<String>, byte[]) - Method in class com.apple.foundationdb.directory.DirectorySubspace
- open(String) - Method in class com.apple.foundationdb.FDB
-
Initializes networking if required and connects to the cluster specified by
clusterFilePath.
A single client can use this function multiple times to connect to different clusters simultaneously, with each invocation requiring its own cluster file. - open(String, EventKeeper) - Method in class com.apple.foundationdb.FDB
-
Initializes networking if required and connects to the cluster specified by
clusterFilePath.
A single client can use this function multiple times to connect to different clusters simultaneously, with each invocation requiring its own cluster file. - open(String, Executor) - Method in class com.apple.foundationdb.FDB
-
Initializes networking if required and connects to the cluster specified by
clusterFilePath.
A single client can use this function multiple times to connect to different clusters simultaneously, with each invocation requiring its own cluster file. - open(String, Executor, EventKeeper) - Method in class com.apple.foundationdb.FDB
-
Initializes networking if required and connects to the cluster specified by
clusterFilePath.
A single client can use this function multiple times to connect to different clusters simultaneously, with each invocation requiring its own cluster file. - openDatabase() - Method in class com.apple.foundationdb.Cluster
-
Deprecated.Creates a connection to the database on an FDB cluster.
- openDatabase(Executor) - Method in class com.apple.foundationdb.Cluster
-
Deprecated.Creates a connection to the database on an FDB cluster.
- opened - Variable in exception com.apple.foundationdb.directory.MismatchedLayerException
-
The layer byte string that the directory was opened with.
- openTenant(byte[]) - Method in interface com.apple.foundationdb.Database
-
Opens an existing tenant to be used for running transactions.
Note: opening a tenant does not check its existence in the cluster. - openTenant(byte[], Executor) - Method in interface com.apple.foundationdb.Database
-
Opens an existing tenant to be used for running transactions.
- openTenant(byte[], Executor, EventKeeper) - Method in interface com.apple.foundationdb.Database
-
Opens an existing tenant to be used for running transactions.
- openTenant(Tuple) - Method in interface com.apple.foundationdb.Database
-
Opens an existing tenant to be used for running transactions.
- openTenant(Tuple, Executor) - Method in interface com.apple.foundationdb.Database
-
Opens an existing tenant to be used for running transactions.
- openTenant(Tuple, Executor, EventKeeper) - Method in interface com.apple.foundationdb.Database
-
Opens an existing tenant to be used for running transactions.
- OptionConsumer - Interface in com.apple.foundationdb
-
An object on which encoded options can be set.
- options() - Method in class com.apple.foundationdb.Cluster
-
Deprecated.Returns a set of options that can be set on a
Cluster. - options() - Method in interface com.apple.foundationdb.Database
-
Returns a set of options that can be set on a
Database - options() - Method in class com.apple.foundationdb.FDB
-
Returns a set of options that can be set on a the FoundationDB API.
- options() - Method in interface com.apple.foundationdb.ReadTransaction
-
Returns a set of options that can be set on a
Transaction - OR - Enum constant in enum class com.apple.foundationdb.MutationType
-
Deprecated.
- orEqual() - Method in class com.apple.foundationdb.KeySelector
-
Returns the orEqual parameter for this
KeySelector.
P
- pack() - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets the key encoding the prefix used for this
Subspace. - pack() - Method in class com.apple.foundationdb.tuple.Tuple
-
Get an encoded representation of this
Tuple. - pack(byte[]) - Method in class com.apple.foundationdb.tuple.Tuple
-
Get an encoded representation of this
Tuple. - pack(Tuple) - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets the key encoding the specified tuple in this
Subspace. - pack(Object) - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets the key encoding the specified
Objectin thisSubspace. - packInto(ByteBuffer) - Method in class com.apple.foundationdb.tuple.Tuple
-
Pack an encoded representation of this
Tupleonto the end of the givenByteBuffer. - packWithVersionstamp() - Method in class com.apple.foundationdb.tuple.Tuple
-
Get an encoded representation of this
Tuplefor use withMutationType.SET_VERSIONSTAMPED_KEY. - packWithVersionstamp(byte[]) - Method in class com.apple.foundationdb.tuple.Tuple
-
Get an encoded representation of this
Tuplefor use withMutationType.SET_VERSIONSTAMPED_KEY. - packWithVersionstamp(Tuple) - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets the key encoding the specified tuple in this
Subspacefor use withMutationType.SET_VERSIONSTAMPED_KEY. - PARTITION_LAYER - Static variable in class com.apple.foundationdb.directory.DirectoryLayer
-
The layer string to pass to
Directory.createOrOpen(TransactionContext, List, byte[])orDirectory.create(TransactionContext, List, byte[])to create aDirectoryPartition. - path - Variable in exception com.apple.foundationdb.directory.DirectoryException
-
The directory path that was responsible for the error.
- PathUtil - Class in com.apple.foundationdb.directory
-
The
PathUtilclass provides static helper functions useful for working with directory paths. - PerfMetric - Class in com.apple.foundationdb.testing
- PerfMetric(String, double) - Constructor for class com.apple.foundationdb.testing.PerfMetric
- PerfMetric(String, double, boolean) - Constructor for class com.apple.foundationdb.testing.PerfMetric
- PerfMetric(String, double, boolean, String) - Constructor for class com.apple.foundationdb.testing.PerfMetric
- pointerReadLock - Variable in class com.apple.foundationdb.Cluster
- popBack() - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a new
Tuplewith the last item of thisTupleremoved. - popBack(List<String>) - Static method in class com.apple.foundationdb.directory.PathUtil
-
Removes the last item from a path.
- popFront() - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a new
Tuplewith the first item of thisTupleremoved. - popFront(List<String>) - Static method in class com.apple.foundationdb.directory.PathUtil
-
Removes the first item from a path.
- printable(byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Gets a human readable version of a byte array.
- Promise - Class in com.apple.foundationdb.testing
- purgeBlobGranules(byte[], byte[], boolean) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.purgeBlobGranules(byte[] beginKey, byte[] endKey, boolean force)on the default executor. - purgeBlobGranules(byte[], byte[], boolean) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.purgeBlobGranules(byte[] beginKey, byte[] endKey, boolean force)on the default executor. - purgeBlobGranules(byte[], byte[], long, boolean) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.purgeBlobGranules(byte[] beginKey, byte[] endKey, long purgeVersion, boolean force)on the default executor. - purgeBlobGranules(byte[], byte[], long, boolean) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.purgeBlobGranules(byte[] beginKey, byte[] endKey, long purgeVersion, boolean force)on the default executor. - purgeBlobGranules(byte[], byte[], long, boolean, Executor) - Method in interface com.apple.foundationdb.Database
-
Queues a purge of blob granules for the specified key range, at the specified version.
- purgeBlobGranules(byte[], byte[], long, boolean, Executor) - Method in interface com.apple.foundationdb.Tenant
-
Queues a purge of blob granules for specified key range of this tenant, at the specified version.
R
- range() - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets a
Rangerepresenting all keys strictly in theSubspace. - range() - Method in class com.apple.foundationdb.tuple.Tuple
-
Returns a range representing all keys that encode
Tuples strictly starting with thisTuple. - range(byte[]) - Method in class com.apple.foundationdb.tuple.Tuple
-
Returns a range representing all keys that encode
Tuples strictly starting with the given prefix followed by thisTuple. - range(Tuple) - Method in class com.apple.foundationdb.subspace.Subspace
- Range - Class in com.apple.foundationdb
-
A simple description of an exact range of keyspace, specified by a begin and end key.
- Range(byte[], byte[]) - Constructor for class com.apple.foundationdb.Range
-
Construct a new
Rangewith an inclusive begin key and an exclusive end key. - RANGE_QUERY_CHUNK_FAILED - Enum constant in enum class com.apple.foundationdb.EventKeeper.Events
-
The number of times a range query chunk fetch failed
- RANGE_QUERY_DIRECT_BUFFER_HIT - Enum constant in enum class com.apple.foundationdb.EventKeeper.Events
-
The number of times a DirectBuffer was used to transfer a range query chunk across the JNI boundary
- RANGE_QUERY_DIRECT_BUFFER_MISS - Enum constant in enum class com.apple.foundationdb.EventKeeper.Events
-
The number of times a range query chunk was unable to use a DirectBuffer to transfer data across the JNI boundary
- RANGE_QUERY_FETCH_TIME_NANOS - Enum constant in enum class com.apple.foundationdb.EventKeeper.Events
-
The time taken to perform an internal `getRange` fetch, in nanoseconds
- RANGE_QUERY_FETCHES - Enum constant in enum class com.apple.foundationdb.EventKeeper.Events
-
The number of direct fetches made during a range query
- RANGE_QUERY_RECORDS_FETCHED - Enum constant in enum class com.apple.foundationdb.EventKeeper.Events
-
The number of tuples fetched during a range query
- read(Function<? super ReadTransaction, T>) - Method in interface com.apple.foundationdb.Database
-
Runs a read-only transactional function against this
Databasewith retry logic. - read(Function<? super ReadTransaction, T>) - Method in interface com.apple.foundationdb.ReadTransactionContext
-
Runs a function in this context that takes a read-only transaction.
- read(Function<? super ReadTransaction, T>) - Method in interface com.apple.foundationdb.Tenant
-
Runs a read-only transactional function against this
Tenantwith retry logic. - read(Function<? super ReadTransaction, T>, Executor) - Method in interface com.apple.foundationdb.Database
-
Runs a read-only transactional function against this
Databasewith retry logic. - read(Function<? super ReadTransaction, T>, Executor) - Method in interface com.apple.foundationdb.Tenant
-
Runs a read-only transactional function against this
Tenantwith retry logic. - readAsync(Function<? super ReadTransaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.Database
-
Runs a read-only transactional function against this
Databasewith retry logic. - readAsync(Function<? super ReadTransaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.ReadTransactionContext
-
Runs a function in this context that takes a read-only transaction.
- readAsync(Function<? super ReadTransaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.Tenant
-
Runs a read-only transactional function against this
Tenantwith retry logic. - readAsync(Function<? super ReadTransaction, ? extends CompletableFuture<T>>, Executor) - Method in interface com.apple.foundationdb.Database
-
Runs a read-only transactional function against this
Databasewith retry logic. - readAsync(Function<? super ReadTransaction, ? extends CompletableFuture<T>>, Executor) - Method in interface com.apple.foundationdb.Tenant
-
Runs a read-only transactional function against this
Tenantwith retry logic. - ReadTransaction - Interface in com.apple.foundationdb
-
A read-only subset of a FoundationDB
Transaction. - ReadTransactionContext - Interface in com.apple.foundationdb
-
A context in which a
ReadTransactionis available for database operations. - READY_FALSE - Static variable in class com.apple.foundationdb.async.AsyncUtil
-
A completed future of type
Booleanthat is set tofalse. - READY_TRUE - Static variable in class com.apple.foundationdb.async.AsyncUtil
-
A completed future of type
Booleanthat is set totrue. - remove(TransactionContext) - Method in interface com.apple.foundationdb.directory.Directory
-
Removes this
Directoryand all of its subdirectories, as well as all of their contents. - remove(TransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Removes the subdirectory of this
Directorylocated atsubpathand all of its subdirectories, as well as all of their contents. - remove(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Removes the directory located at
pathand all of its subdirectories, as well as all of their contents. - remove(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectorySubspace
- removeIfExists(TransactionContext) - Method in interface com.apple.foundationdb.directory.Directory
-
Removes this
Directoryand all of its subdirectories, as well as all of their contents. - removeIfExists(TransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Removes the subdirectory of this
Directorylocated atsubpathand all of its subdirectories, as well as all of their contents. - removeIfExists(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Removes the directory located at
subpathand all of its subdirectories, as well as all of their contents. - removeIfExists(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectorySubspace
- replace(byte[], byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Replaces occurrences of a pattern in a byte array.
- replace(byte[], int, int, byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Replaces occurrences of a pattern in a byte array.
- resizeDirectBufferPool(int, int) - Method in class com.apple.foundationdb.FDB
-
Resizes the DirectBufferPool with given parameters, which is used by getRange() requests.
- retargetClone() - Method in interface com.apple.foundationdb.async.CloneableException
-
Create and return a new
Exceptionthat has a backtrace including the calling line of code. - retargetClone() - Method in exception com.apple.foundationdb.FDBException
- ROW_LIMIT_UNLIMITED - Static variable in interface com.apple.foundationdb.ReadTransaction
-
When passed to a
getRange()call that takes alimitparameter, indicates that the query should return unlimited rows. - run(Function<? super Transaction, T>) - Method in interface com.apple.foundationdb.Database
-
Runs a transactional function against this
Databasewith retry logic. - run(Function<? super Transaction, T>) - Method in interface com.apple.foundationdb.Tenant
-
Runs a transactional function against this
Tenantwith retry logic. - run(Function<? super Transaction, T>) - Method in interface com.apple.foundationdb.Transaction
-
Run a function once against this
Transaction. - run(Function<? super Transaction, T>) - Method in interface com.apple.foundationdb.TransactionContext
-
Runs a function in this context that takes a transaction.
- run(Function<? super Transaction, T>, Executor) - Method in interface com.apple.foundationdb.Database
-
Runs a transactional function against this
Databasewith retry logic. - run(Function<? super Transaction, T>, Executor) - Method in interface com.apple.foundationdb.Tenant
-
Runs a transactional function against this
Tenantwith retry logic. - runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.Database
-
Runs a transactional function against this
Databasewith retry logic. - runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.Tenant
-
Runs a transactional function against this
Tenantwith retry logic. - runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.Transaction
-
Run a function once against this
Transaction. - runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.TransactionContext
-
Runs a function in this context that takes a transaction.
- runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>, Executor) - Method in interface com.apple.foundationdb.Database
-
Runs a transactional function against this
Databasewith retry logic. - runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>, Executor) - Method in interface com.apple.foundationdb.Tenant
-
Runs a transactional function against this
Tenantwith retry logic.
S
- selectAPIVersion(int) - Static method in class com.apple.foundationdb.FDB
-
Select the version for the client API.
- send(boolean) - Method in class com.apple.foundationdb.testing.Promise
- SERIAL - Enum constant in enum class com.apple.foundationdb.StreamingMode
-
Transfer data in batches large enough that an individual client can get reasonable read bandwidth from the database.
- set(byte[], byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Sets the value for a given key.
- SET_VERSIONSTAMPED_KEY - Enum constant in enum class com.apple.foundationdb.MutationType
-
Transforms
keyusing a versionstamp for the transaction. - SET_VERSIONSTAMPED_VALUE - Enum constant in enum class com.apple.foundationdb.MutationType
-
Transforms
paramusing a versionstamp for the transaction. - setAccessSystemKeys() - Method in class com.apple.foundationdb.TransactionOptions
-
Allows this transaction to read and modify system keys (those that start with the byte 0xFF).
- setAuthorizationToken(String) - Method in class com.apple.foundationdb.TransactionOptions
-
Attach given authorization token to the transaction such that subsequent tenant-aware requests are authorized.
- setAutomaticIdempotency() - Method in class com.apple.foundationdb.TransactionOptions
-
Automatically assign a random 16 byte idempotency id for this transaction.
- setAutoThrottleTag(String) - Method in class com.apple.foundationdb.TransactionOptions
-
Adds a tag to the transaction that can be used to apply manual or automatic targeted throttling.
- setAveraged(boolean) - Method in class com.apple.foundationdb.testing.PerfMetric
- setBuggifyDisable() - Method in class com.apple.foundationdb.NetworkOptions
- setBuggifyEnable() - Method in class com.apple.foundationdb.NetworkOptions
- setBuggifySectionActivatedProbability(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the probability of a BUGGIFY section being active for the current execution.
- setBuggifySectionFiredProbability(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the probability of an active BUGGIFY section being fired.
- setBypassStorageQuota() - Method in class com.apple.foundationdb.TransactionOptions
-
Allows this transaction to bypass storage quota enforcement.
- setBypassUnreadable() - Method in class com.apple.foundationdb.TransactionOptions
-
Allows
getoperations to read from sections of keyspace that have become unreadable because of versionstamp operations. - setCallbacksOnExternalThreads() - Method in class com.apple.foundationdb.NetworkOptions
-
If set, callbacks from external client libraries can be called from threads created by the FoundationDB client library.
- setCausalReadDisable() - Method in class com.apple.foundationdb.TransactionOptions
- setCausalReadRisky() - Method in class com.apple.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 simultaneous fault and misbehaving clock.
- setCausalWriteRisky() - Method in class com.apple.foundationdb.TransactionOptions
-
The transaction, if not self-conflicting, may be committed a second time after commit succeeds, in the event of a fault.
- setClientBuggifyDisable() - Method in class com.apple.foundationdb.NetworkOptions
-
Disable client buggify.
- setClientBuggifyEnable() - Method in class com.apple.foundationdb.NetworkOptions
-
Enable client buggify - will make requests randomly fail (intended for client testing).
- setClientBuggifySectionActivatedProbability(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the probability of a CLIENT_BUGGIFY section being active for the current execution.
- setClientBuggifySectionFiredProbability(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the probability of an active CLIENT_BUGGIFY section being fired.
- setClientThreadsPerVersion(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Spawns multiple worker threads for each version of the client that is loaded.
- setClientTmpDir(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Sets the directory for storing temporary files created by FDB client, such as temporary copies of client libraries.
- setClusterFile(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Deprecated.
- setConsistencyCheckRequiredReplicas(long) - Method in class com.apple.foundationdb.TransactionOptions
-
Specifies the number of storage server replica results that the load balancer needs to compare when enable_replica_consistency_check option is set.
- setDatacenterId(String) - Method in class com.apple.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.
- setDebugRetryLogging(String) - Method in class com.apple.foundationdb.TransactionOptions
- setDebugTransactionIdentifier(String) - Method in class com.apple.foundationdb.TransactionOptions
-
Sets a client provided identifier for the transaction that will be used in scenarios like tracing or profiling.
- setDisableClientBypass() - Method in class com.apple.foundationdb.NetworkOptions
-
Prevents the multi-version client API from being disabled, even if no external clients are configured.
- setDisableClientStatisticsLogging() - Method in class com.apple.foundationdb.NetworkOptions
-
Disables logging of client statistics, such as sampled transaction activity.
- setDisableLocalClient() - Method in class com.apple.foundationdb.NetworkOptions
-
Prevents connections through the local client, allowing only connections through externally loaded client libraries.
- setDisableMultiVersionClientApi() - Method in class com.apple.foundationdb.NetworkOptions
-
Disables the multi-version client API and instead uses the local client directly.
- setDistributedClientTracer(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set a tracer to run on the client.
- setDurabilityDatacenter() - Method in class com.apple.foundationdb.TransactionOptions
- setDurabilityDevNullIsWebScale() - Method in class com.apple.foundationdb.TransactionOptions
-
Deprecated.
- setDurabilityRisky() - Method in class com.apple.foundationdb.TransactionOptions
- setEnableReplicaConsistencyCheck() - Method in class com.apple.foundationdb.TransactionOptions
-
Enables replica consistency check, which compares the results returned by storage server replicas (as many as specified by consistency_check_required_replicas option) for a given read request, in client-side load balancer.
- setEnableRunLoopProfiling() - Method in class com.apple.foundationdb.NetworkOptions
-
Enables debugging feature to perform run loop profiling.
- setEnableSlowTaskProfiling() - Method in class com.apple.foundationdb.NetworkOptions
-
Deprecated.
- setExpensiveClearCostEstimationEnable() - Method in class com.apple.foundationdb.TransactionOptions
-
Asks storage servers for how many bytes a clear key range contains.
- setExternalClientDirectory(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Searches the specified path for dynamic libraries and adds them to the list of client libraries for use by the multi-version client API.
- setExternalClientLibrary(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Adds an external client library for use by the multi-version client API.
- setFailIncompatibleClient() - Method in class com.apple.foundationdb.NetworkOptions
-
Fail with an error if there is no client matching the server version the client is connecting to.
- setFormatCode(String) - Method in class com.apple.foundationdb.testing.PerfMetric
- setFutureVersionClientLibrary(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Adds an external client library to be used with a future version protocol.
- setIgnoreExternalClientFailures() - Method in class com.apple.foundationdb.NetworkOptions
-
Ignore the failure to initialize some of the external clients.
- setIncludePortInAddress() - Method in class com.apple.foundationdb.TransactionOptions
-
Addresses returned by get_addresses_for_key include the port when enabled.
- setInitializeNewDatabase() - Method in class com.apple.foundationdb.TransactionOptions
-
This is a write-only transaction which sets the initial configuration.
- setKnob(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set internal tuning or debugging knobs.
- setLocalAddress(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Deprecated.
- setLocationCacheSize(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Set the size of the client location cache.
- setLockAware() - Method in class com.apple.foundationdb.TransactionOptions
-
The transaction can read and write to locked databases, and is responsible for checking that it took the lock.
- setLogTransaction() - Method in class com.apple.foundationdb.TransactionOptions
-
Enables tracing for this transaction and logs results to the client trace logs.
- setMachineId(String) - Method in class com.apple.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.apple.foundationdb.TransactionOptions
-
Set the maximum amount of backoff delay incurred in the call to
onErrorif the error is retryable. - setMaxWatches(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Set the maximum number of watches allowed to be outstanding on a database connection.
- setName(String) - Method in class com.apple.foundationdb.testing.PerfMetric
- setNextWriteNoWriteConflictRange() - Method in class com.apple.foundationdb.TransactionOptions
-
The next write performed on this transaction will not generate a write conflict range.
- setOption(int) - Method in class com.apple.foundationdb.ClusterOptions
- setOption(int, byte[]) - Method in interface com.apple.foundationdb.OptionConsumer
-
Attempt to set the given option.
- setOption(int, byte[]) - Method in class com.apple.foundationdb.ClusterOptions
- setOption(int, long) - Method in class com.apple.foundationdb.ClusterOptions
- setOption(int, String) - Method in class com.apple.foundationdb.ClusterOptions
- setPriorityBatch() - Method in class com.apple.foundationdb.TransactionOptions
-
Specifies that this transaction should be treated as low priority and that default priority transactions will be processed first.
- setPrioritySystemImmediate() - Method in class com.apple.foundationdb.TransactionOptions
-
Specifies that this transaction should be treated as highest priority and that lower priority transactions should block behind this one.
- setProcessID(long) - Method in class com.apple.foundationdb.testing.WorkloadContext
- setRawAccess() - Method in class com.apple.foundationdb.TransactionOptions
-
Allows this transaction to access the raw key-space when tenant mode is on.
- setReadAheadDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
Deprecated.
- setReadLockAware() - Method in class com.apple.foundationdb.TransactionOptions
-
The transaction can read from locked databases.
- setReadPriorityHigh() - Method in class com.apple.foundationdb.TransactionOptions
-
Use high read priority for subsequent read requests in this transaction.
- setReadPriorityLow() - Method in class com.apple.foundationdb.TransactionOptions
-
Use low read priority for subsequent read requests in this transaction.
- setReadPriorityNormal() - Method in class com.apple.foundationdb.TransactionOptions
-
Use normal read priority for subsequent read requests in this transaction.
- setReadServerSideCacheDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
Storage server should not cache disk blocks needed for subsequent read requests in this transaction.
- setReadServerSideCacheEnable() - Method in class com.apple.foundationdb.TransactionOptions
-
Storage server should cache disk blocks needed for subsequent read requests in this transaction.
- setReadSystemKeys() - Method in class com.apple.foundationdb.TransactionOptions
-
Allows this transaction to read system keys (those that start with the byte 0xFF).
- setReadVersion(long) - Method in interface com.apple.foundationdb.ReadTransaction
-
Directly sets the version of the database at which to execute reads.
- setReadYourWritesDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
Reads performed by a transaction will not see any prior mutations that occurred in that transaction, instead seeing the value which was in the database at the transaction's read version.
- setReportConflictingKeys() - Method in class com.apple.foundationdb.TransactionOptions
-
The transaction can retrieve keys that are conflicting with other transactions.
- setRetainClientLibraryCopies() - Method in class com.apple.foundationdb.NetworkOptions
-
Retain temporary external client library copies that are created for enabling multi-threading.
- setRetryLimit(long) - Method in class com.apple.foundationdb.TransactionOptions
-
Set a maximum number of retries after which additional calls to
onErrorwill throw the most recently seen error code. - setServerRequestTracing() - Method in class com.apple.foundationdb.TransactionOptions
-
Sets an identifier for server tracing of this transaction.
- setSizeLimit(long) - Method in class com.apple.foundationdb.TransactionOptions
-
Set the transaction size limit in bytes.
- setSnapshotRywDisable() - Method in class com.apple.foundationdb.DatabaseOptions
-
Snapshot read operations will not see the results of writes done in the same transaction.
- setSnapshotRywDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
Snapshot read operations will not see the results of writes done in the same transaction.
- setSnapshotRywEnable() - Method in class com.apple.foundationdb.DatabaseOptions
-
Snapshot read operations will see the results of writes done in the same transaction.
- setSnapshotRywEnable() - Method in class com.apple.foundationdb.TransactionOptions
-
Snapshot read operations will see the results of writes done in the same transaction.
- setSpanParent(byte[]) - Method in class com.apple.foundationdb.TransactionOptions
-
Adds a parent to the Span of this transaction.
- setSpecialKeySpaceEnableWrites() - Method in class com.apple.foundationdb.TransactionOptions
-
By default, users are not allowed to write to special keys.
- setSpecialKeySpaceRelaxed() - Method in class com.apple.foundationdb.TransactionOptions
-
By default, the special key space will only allow users to read from exactly one module (a subspace in the special key space).
- setTag(String) - Method in class com.apple.foundationdb.TransactionOptions
-
Adds a tag to the transaction that can be used to apply manual targeted throttling.
- setTestCausalReadRisky(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Enables verification of causal read risky by checking whether clients are able to read stale data when they detect a recovery, and logging an error if so.
- setTimeout(long) - Method in class com.apple.foundationdb.TransactionOptions
-
Set a timeout in milliseconds which, when elapsed, will cause the transaction automatically to be cancelled.
- setTLSCaBytes(byte[]) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the ca bundle.
- setTLSCaPath(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the file from which to load the certificate authority bundle.
- setTLSCertBytes(byte[]) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the certificate chain.
- setTLSCertPath(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the file from which to load the certificate chain.
- setTLSDisablePlaintextConnection() - Method in class com.apple.foundationdb.NetworkOptions
-
Prevent client from connecting to a non-TLS endpoint by throwing network connection failed error.
- setTLSKeyBytes(byte[]) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the private key corresponding to your own certificate.
- setTLSKeyPath(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the file from which to load the private key corresponding to your own certificate.
- setTLSPassword(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the passphrase for encrypted private key.
- setTLSPlugin(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Deprecated.
- setTLSVerifyPeers(byte[]) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the peer certificate field verification criteria.
- setTraceClockSource(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Select clock source for trace files.
- setTraceEnable(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Enables trace output to a file in a directory of the clients choosing.
- setTraceFileIdentifier(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Once provided, this string will be used to replace the port/PID in the log file names.
- setTraceFormat(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Select the format of the log files.
- setTraceInitializeOnSetup() - Method in class com.apple.foundationdb.NetworkOptions
-
Initialize trace files on network setup, determine the local IP later.
- setTraceLogGroup(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Sets the 'LogGroup' attribute with the specified value for all events in the trace output files.
- setTraceMaxLogsSize(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Sets the maximum size of all the trace output files put together.
- setTracePartialFileSuffix(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set file suffix for partially written log files.
- setTraceRollSize(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Sets the maximum size in bytes of a single trace output file.
- setTraceShareAmongClientThreads() - Method in class com.apple.foundationdb.NetworkOptions
-
Use the same base trace file name for all client threads as it did before version 7.2.
- setTransactionAutomaticIdempotency() - Method in class com.apple.foundationdb.DatabaseOptions
-
Set a random idempotency id for all transactions.
- setTransactionBypassUnreadable() - Method in class com.apple.foundationdb.DatabaseOptions
-
Allows
getoperations to read from sections of keyspace that have become unreadable because of versionstamp operations. - setTransactionCausalReadRisky() - Method in class com.apple.foundationdb.DatabaseOptions
-
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 simultaneous fault and misbehaving clock.
- setTransactionIncludePortInAddress() - Method in class com.apple.foundationdb.DatabaseOptions
-
Deprecated.
- setTransactionLoggingEnable(String) - Method in class com.apple.foundationdb.TransactionOptions
-
Deprecated.
- setTransactionLoggingMaxFieldLength(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Sets the maximum escaped length of key and value fields to be logged to the trace file via the LOG_TRANSACTION option.
- setTransactionLoggingMaxFieldLength(long) - Method in class com.apple.foundationdb.TransactionOptions
-
Sets the maximum escaped length of key and value fields to be logged to the trace file via the LOG_TRANSACTION option, after which the field will be truncated.
- setTransactionMaxRetryDelay(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Set the maximum amount of backoff delay incurred in the call to
onErrorif the error is retryable. - setTransactionReportConflictingKeys() - Method in class com.apple.foundationdb.DatabaseOptions
-
Enables conflicting key reporting on all transactions, allowing them to retrieve the keys that are conflicting with other transactions.
- setTransactionRetryLimit(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Set a maximum number of retries after which additional calls to
onErrorwill throw the most recently seen error code. - setTransactionSizeLimit(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Set the maximum transaction size in bytes.
- setTransactionTimeout(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Set a timeout in milliseconds which, when elapsed, will cause each transaction automatically to be cancelled.
- setTransactionUsedDuringCommitProtectionDisable() - Method in class com.apple.foundationdb.DatabaseOptions
-
By default, operations that are performed on a transaction while it is being committed will not only fail themselves, but they will attempt to fail other in-flight operations (such as the commit) as well.
- setUnclosedWarning(boolean) - Method in class com.apple.foundationdb.FDB
-
Enables or disables the stderr warning that is printed whenever an object with FoundationDB native resources is garbage collected without being closed.
- setup(Database, Promise) - Method in class com.apple.foundationdb.testing.AbstractWorkload
- setUseConfigDatabase() - Method in class com.apple.foundationdb.DatabaseOptions
-
Use configuration database.
- setUsedDuringCommitProtectionDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
By default, operations that are performed on a transaction while it is being committed will not only fail themselves, but they will attempt to fail other in-flight operations (such as the commit) as well.
- setUseGrvCache() - Method in class com.apple.foundationdb.TransactionOptions
-
Allows this transaction to use cached GRV from the database context.
- setUseProvisionalProxies() - Method in class com.apple.foundationdb.TransactionOptions
-
This option should only be used by tools which change the database configuration.
- setValue(double) - Method in class com.apple.foundationdb.testing.PerfMetric
- size() - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets the number of elements in this
Tuple. - SMALL - Enum constant in enum class com.apple.foundationdb.StreamingMode
-
Infrequently used.
- snapshot() - Method in interface com.apple.foundationdb.ReadTransaction
-
Return a special-purpose, read-only view of the database.
- sourcePath - Variable in exception com.apple.foundationdb.directory.DirectoryMoveException
-
The path of the directory being moved.
- split(byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Splits a byte array at each occurrence of a pattern.
- split(byte[], int, int, byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Splits a byte array at each occurrence of a pattern.
- start(Database, Promise) - Method in class com.apple.foundationdb.testing.AbstractWorkload
- startNetwork() - Method in class com.apple.foundationdb.FDB
-
Initializes networking.
- startNetwork(Executor) - Method in class com.apple.foundationdb.FDB
-
Initializes networking.
- startsWith(byte[]) - Static method in class com.apple.foundationdb.Range
-
Returns a
Rangethat describes all possible keys that are prefixed with a specified key. - startsWith(byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Check if a byte array starts with another byte array.
- stopNetwork() - Method in class com.apple.foundationdb.FDB
-
Stops the FoundationDB networking engine.
- stored - Variable in exception com.apple.foundationdb.directory.MismatchedLayerException
-
The layer byte string that the directory was created with.
- stream() - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets a
Streamof the unserialized contents of thisTuple. - StreamingMode - Enum Class in com.apple.foundationdb
-
Options that control the way the Java binding performs range reads.
- strinc(byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Computes the first key that would sort outside the range prefixed by
key. - subspace(Tuple) - Method in class com.apple.foundationdb.subspace.Subspace
- Subspace - Class in com.apple.foundationdb.subspace
-
Subspaceprovide a convenient way to useTuples to define namespaces for different categories of data. - Subspace() - Constructor for class com.apple.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with an empty prefix
Tuple. - Subspace(byte[]) - Constructor for class com.apple.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with the specified byte string, which will be prepended to all packed keys.
- Subspace(Tuple) - Constructor for class com.apple.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with the specified prefix
Tuple. - Subspace(Tuple, byte[]) - Constructor for class com.apple.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with both a prefix
Tupleand a prefix byte string. - success(CompletableFuture<V>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Maps the outcome of a task into a completion signal.
T
- tag(CompletableFuture<T>, V) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Replaces the output of an asynchronous task with a predetermined value.
- Tenant - Interface in com.apple.foundationdb
-
A tenant represents a named key-space within a database that can be interacted with transactionally.
The simplest correct programs using tenants will make use of the methods defined in theTransactionContextinterface. - TenantManagement - Class in com.apple.foundationdb
-
The FoundationDB API includes function to manage the set of tenants in a cluster.
- time(EventKeeper.Event, long, TimeUnit) - Method in interface com.apple.foundationdb.EventKeeper
-
Count the time taken to perform an action, in the specified units.
- timeNanos(EventKeeper.Event, long) - Method in interface com.apple.foundationdb.EventKeeper
-
Count the time taken to perform an event, in nanoseconds.
- timeNanos(EventKeeper.Event, long) - Method in class com.apple.foundationdb.MapEventKeeper
- toString() - Method in class com.apple.foundationdb.directory.DirectorySubspace
- toString() - Method in class com.apple.foundationdb.KeySelector
- toString() - Method in class com.apple.foundationdb.KeyValue
- toString() - Method in class com.apple.foundationdb.MappedKeyValue
- toString() - Method in class com.apple.foundationdb.Range
-
Returns a human-readable
Stringrepresentation of thisRange. - toString() - Method in class com.apple.foundationdb.subspace.Subspace
-
Create a human-readable string representation of this subspace.
- toString() - Method in class com.apple.foundationdb.tuple.Tuple
-
Returns a string representing this
Tuple. - toString() - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Generate a human-readable representation of this
Versionstamp. - Transaction - Interface in com.apple.foundationdb
-
A Transaction represents a FoundationDB database transaction.
- TransactionContext - Interface in com.apple.foundationdb
-
A context in which a
Transactionis available for database operations. - TransactionOptions - Class in com.apple.foundationdb
-
A set of options that can be set on a
Transaction. - TransactionOptions(OptionConsumer) - Constructor for class com.apple.foundationdb.TransactionOptions
- Tuple - Class in com.apple.foundationdb.tuple
-
Represents a set of elements that make up a sortable, typed key.
- Tuple() - Constructor for class com.apple.foundationdb.tuple.Tuple
-
Construct a new empty
Tuple.
U
- unblobbifyRange(byte[], byte[]) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.unblobbifyRange(byte[] beginKey, byte[] endKey)on the default executor. - unblobbifyRange(byte[], byte[]) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.unblobbifyRange(byte[] beginKey, byte[] endKey)on the default executor. - unblobbifyRange(byte[], byte[], Executor) - Method in interface com.apple.foundationdb.Database
-
Unsets a blobbified range in the database.
- unblobbifyRange(byte[], byte[], Executor) - Method in interface com.apple.foundationdb.Tenant
-
Unsets a blobbified range in this tenant.
- unpack(byte[]) - Method in class com.apple.foundationdb.subspace.Subspace
- unpackUserVersion(byte[], int) - Static method in class com.apple.foundationdb.tuple.Versionstamp
-
From a byte array, unpack the user version starting at the given position.
V
- valueOf(String) - Static method in enum class com.apple.foundationdb.EventKeeper.Events
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.apple.foundationdb.MutationType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.apple.foundationdb.StreamingMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.apple.foundationdb.EventKeeper.Events
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.apple.foundationdb.MutationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.apple.foundationdb.StreamingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyBlobRange(byte[], byte[]) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.verifyBlobRange(byte[] beginKey, byte[] endKey)on the default executor. - verifyBlobRange(byte[], byte[]) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.verifyBlobRange(byte[] beginKey, byte[] endKey)on the default executor. - verifyBlobRange(byte[], byte[], long) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.verifyBlobRange(byte[] beginKey, byte[] endKey, long version)on the default executor. - verifyBlobRange(byte[], byte[], long) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.verifyBlobRange(byte[] beginKey, byte[] endKey, long version)on the default executor. - verifyBlobRange(byte[], byte[], long, Executor) - Method in interface com.apple.foundationdb.Database
-
Checks if a blob range is blobbified.
- verifyBlobRange(byte[], byte[], long, Executor) - Method in interface com.apple.foundationdb.Tenant
-
Checks if a blob range is blobbified in this tenant.
- Versionstamp - Class in com.apple.foundationdb.tuple
-
Used to represent values written by versionstamp operations with a
Tuple.
W
- waitPurgeGranulesComplete(byte[]) - Method in interface com.apple.foundationdb.Database
-
Runs
Database.waitPurgeGranulesComplete(byte[] purgeKey)on the default executor. - waitPurgeGranulesComplete(byte[]) - Method in interface com.apple.foundationdb.Tenant
-
Runs
Tenant.waitPurgeGranulesComplete(byte[] purgeKey)on the default executor. - waitPurgeGranulesComplete(byte[], Executor) - Method in interface com.apple.foundationdb.Database
-
Wait for a previous call to purgeBlobGranules to complete.
- waitPurgeGranulesComplete(byte[], Executor) - Method in interface com.apple.foundationdb.Tenant
-
Wait for a previous call to purgeBlobGranules to complete.
- WANT_ALL - Enum constant in enum class com.apple.foundationdb.StreamingMode
-
Client intends to consume the entire range and would like it all transferred as early as possible.
- watch(byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Creates a watch that will become ready when it reports a change to the value of the specified key.
A watch's behavior is relative to the transaction that created it. - whenAll(Collection<? extends CompletableFuture<V>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Return a
CompletableFuturethat will be set when all theCompletableFutureinputs are done. - whenAny(Collection<? extends CompletableFuture<V>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Return a
CompletableFuturethat will be set when any of theCompletableFutureinputs are done. - whenReady(CompletableFuture<V>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Maps the readiness of a
CompletableFutureinto a completion signal. - whileTrue(Function<Void, ? extends CompletableFuture<Boolean>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
- whileTrue(Function<Void, ? extends CompletableFuture<Boolean>>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
- whileTrue(Supplier<CompletableFuture<Boolean>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Executes an asynchronous operation repeatedly until it returns
False. - whileTrue(Supplier<CompletableFuture<Boolean>>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Executes an asynchronous operation repeatedly until it returns
False. - WorkloadContext - Class in com.apple.foundationdb.testing
X
- XOR - Enum constant in enum class com.apple.foundationdb.MutationType
-
Deprecated.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form