Home > Contents > Index > 
Expanded TOC | Accordion TOC | Annotated TOC | Index 
ISynchHash.clear
Clears a hash and synchronizes the cluster.
Syntax
public void clear()Description
The
clearmethod clears a hash and synchronizes the cluster as necessary.Note that it is more efficient to use the
clearmethod to remove a hash then to remove all entries one by one. When removing entries one-by-one, although the first iteration of the loop has little performance cost, subsequent iterations have the additional performance cost of cluster synchronization, which can be very high.
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.