KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > tree > WithRootLatched


1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: WithRootLatched.java,v 1.12 2006/10/30 21:14:26 bostic Exp $
7  */

8
9 package com.sleepycat.je.tree;
10
11 import com.sleepycat.je.DatabaseException;
12
13 public interface WithRootLatched {
14     
15     /**
16      * doWork is called while the tree's root latch is held.
17      */

18     public IN doWork(ChildReference root)
19     throws DatabaseException;
20 }
21
Popular Tags