diff options
Diffstat (limited to 'storage/bdb/rpc_server/java/Timer.java')
-rw-r--r-- | storage/bdb/rpc_server/java/Timer.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/storage/bdb/rpc_server/java/Timer.java b/storage/bdb/rpc_server/java/Timer.java new file mode 100644 index 00000000000..e16f3084f95 --- /dev/null +++ b/storage/bdb/rpc_server/java/Timer.java @@ -0,0 +1,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; +} |