mirror of
https://github.com/MariaDB/server.git
synced 2025-07-10 04:22:00 +03:00
BDB 4.1.24
This commit is contained in:
22
bdb/rpc_server/java/Timer.java
Normal file
22
bdb/rpc_server/java/Timer.java
Normal file
@ -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;
|
||||
}
|
Reference in New Issue
Block a user