KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > api > ObjectManagerEventListener


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.objectserver.api;
5
6
7 /**
8  * Interface for those interested in listening to Object Manager events. I'm thinking this event interface should really
9  * only be for "low volume" events since there is fair amount of overhead per event. So things like "object looked up",
10  * or "cache hit" aren't very good candidates for this interface
11  */

12 public interface ObjectManagerEventListener {
13
14   /**
15    * Called after each GC run is complete
16    *
17    * @param stats statistics about this collection
18    */

19   public void garbageCollectionComplete(GCStats stats);
20
21 }
22
Popular Tags