jrun.jms.core.gc
Interface GarbageCollectable

All Known Subinterfaces:
MessageManager
All Known Implementing Classes:
DestinationManager, JmsServerConnectionManager, MessageManagerService

public interface GarbageCollectable

A object which has a type GarbageCollectable can be visisted by a GarbageCollector to reclaim, dispose of resources. The resource stored in a GarbageCollectable container must be of type Disposable before they can be reclaimed.

Version:
$Revision: 1.1 $ $Date: 2001/09/03 23:43:18 $
Author:
Jim Alateras

Method Summary
 void collectGarbage()
          Perform any garbage collection on this resource.
 int getGarbageCollectionEvent()
          Returns garbage collection event type
 

Method Detail

collectGarbage

public void collectGarbage()
Perform any garbage collection on this resource. This will have the effect of releasing system resources.

getGarbageCollectionEvent

public int getGarbageCollectionEvent()
Returns garbage collection event type


Copyright � 2002 Macromedia Corporation. All Rights Reserved.