MutableDenseHashTable.Options

public static class MutableDenseHashTable.Options

Optional attributes for MutableDenseHashTable

Public Methods

Inherited Methods

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public MutableDenseHashTable.Options container (String container)

Parameters
container If non-empty, this table is placed in the given container. Otherwise, a default container is used.

public MutableDenseHashTable.Options initialNumBuckets (Long initialNumBuckets)

Parameters
initialNumBuckets The initial number of hash table buckets. Must be a power to 2.

public MutableDenseHashTable.Options maxLoadFactor (Float maxLoadFactor)

Parameters
maxLoadFactor The maximum ratio between number of entries and number of buckets before growing the table. Must be between 0 and 1.

public MutableDenseHashTable.Options sharedName (String sharedName)

Parameters
sharedName If non-empty, this table is shared under the given name across multiple sessions.

public MutableDenseHashTable.Options useNodeNameSharing (Boolean useNodeNameSharing)

public MutableDenseHashTable.Options valueShape (Shape valueShape)

Parameters
valueShape The shape of each value.