Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ISynchHash.put

Adds an object to the hash and generates appropriate cluster synchronization methods and least-recently-used behavior.

Syntax

Parameters

key
A key for the object you want to add. Use meaningful, reproducible key names for proper behavior. Limit key length to 64 characters or less and do not use multi-K length keys. Sixteen characters is the optimal length for performance, but the keys may not be unique.

v
The object to add.

Returns

Returns the previous object or null. Note that the method may throw exception(s) if the create operation fails.

Throws

java.lang.NullPointerException

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.