Database

Undocumented in source.

Constructors

this
this(DatabaseHandle dbh, Cluster cluster)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

clear
void clear(Key key)
Undocumented in source. Be warned that the author may not have intended to support it.
clearRange
void clearRange(RangeInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
createTransaction
auto createTransaction()
Undocumented in source.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
shared(Value) opIndex(Key key)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
RecordRange opIndex(RangeInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
inout(Value) opIndexAssign(inout(Value) value, Key key)
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run(WorkFunc func)
Undocumented in source. Be warned that the author may not have intended to support it.
runAsync
auto runAsync(WorkFunc func, VoidFutureCallback commitCallback)
Undocumented in source. Be warned that the author may not have intended to support it.
setDatacenterId
void setDatacenterId(string value)

Specify the datacenter ID that was passed to fdbserver processes running in the same datacenter as this client, for better location-aware load balancing. Parameter: (String) Hexadecimal ID

setLocationCacheSize
void setLocationCacheSize(long value)

Set the size of the client location cache. Raising this value can boost performance in very large databases where clients access data in a near- random pattern. Defaults to 100000. Parameter: (Int) Max location cache entries

setMachineId
void setMachineId(string value)

Specify the machine ID that was passed to fdbserver processes running on the same machine as this client, for better location-aware load balancing. Parameter: (String) Hexadecimal ID

setMaxWatches
void setMaxWatches(long value)

Set the maximum number of watches allowed to be outstanding on a database connection. Increasing this number could result in increased resource usage. Reducing this number will not cancel any outstanding watches. Defaults to 10000 and cannot be larger than 1000000. Parameter: (Int) Max outstanding watches

Inherited Members

From IDatabaseContext

opIndex
shared(Value) opIndex(Key key)
Undocumented in source.
opIndex
RecordRange opIndex(RangeInfo info)
Undocumented in source.
opIndexAssign
inout(Value) opIndexAssign(inout(Value) value, Key key)
Undocumented in source.
clear
void clear(Key key)
Undocumented in source.
clearRange
void clearRange(RangeInfo info)
Undocumented in source.
run
void run(WorkFunc func)
Undocumented in source.

From IDisposable

dispose
void dispose()
Undocumented in source.

Meta