KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > pept > transport > ConnectionCache


1 /*
2  * @(#)ConnectionCache.java 1.12 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.pept.transport;
9
10 /**
11  * @author Harold Carr
12  */

13 public interface ConnectionCache
14 {
15     public String JavaDoc getCacheType();
16
17     public void stampTime(Connection connection);
18
19     public long numberOfConnections();
20
21     public long numberOfIdleConnections();
22
23     public long numberOfBusyConnections();
24
25     public boolean reclaim();
26 }
27
28 // End of file.
29
Popular Tags