KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > quickserver > net > server > ObjectCleanup


1 /*
2  * This file is part of the QuickServer library
3  * Copyright (C) 2003-2005 QuickServer.org
4  *
5  * Use, modification, copying and distribution of this software is subject to
6  * the terms and conditions of the GNU Lesser General Public License.
7  * You should have received a copy of the GNU LGP License along with this
8  * library; if not, you can download a copy from <http://www.quickserver.org/>.
9  *
10  * For questions, suggestions, bug-reports, enhancement-requests etc.
11  * visit http://www.quickserver.org
12  *
13  */

14
15 package org.quickserver.net.server;
16
17 /**
18  * This interface defines the methods
19  * that helps {@link ObjectCleaner} to clean
20  * excess objects.
21  * @deprecated as of v1.3 no longer used (now object pools are used)
22  */

23
24 public interface ObjectCleanup {
25     /** Returns number of ClientHandler object in memory.*/
26     public long getObjectCount();
27     /** Returns number of clients connected. */
28     public long getClientCount();
29 }
30
Popular Tags