summaryrefslogtreecommitdiff
path: root/bdb/rpc_server/java/Timer.java
blob: e16f3084f959d7e3a724f11510ff6ff5618d4e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*-
 * See the file LICENSE for redistribution information.
 *
 * Copyright (c) 2001-2002
 *      Sleepycat Software.  All rights reserved.
 *
 * $Id: Timer.java,v 1.1 2002/01/03 02:59:39 mjc Exp $
 */

package com.sleepycat.db.rpcserver;

/**
 * Class to keep track of access times. This is slightly devious by having
 * both the access_time and a reference to another Timer that can be
 * used to group/share access times. This is done to keep the Java code
 * close to the canonical C implementation of the RPC server.
 */
public class Timer
{
	Timer timer = this;
	long last_access;
}