01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.objectserver.api;
05:
06: import java.util.Set;
07:
08: /**
09: * Interface for those interested in listening to Object Manager events. I'm thinking this event interface should really
10: * only be for "low volume" events since there is fair amount of overhead per event. So things like "object looked up",
11: * or "cache hit" aren't very good candidates for this interface
12: */
13: public interface ObjectManagerEventListener {
14:
15: /**
16: * Called after each GC run is complete
17: *
18: * @param stats statistics about this collection
19: * @param deleted List of deleted ObjectIDs
20: */
21: public void garbageCollectionComplete(GCStats stats, Set deleted);
22:
23: }
|