org.firebirdsql.pool
Class PooledObjectEvent
EventObject
org.firebirdsql.pool.PooledObjectEvent
public class PooledObjectEvent
extends EventObject
PooledObjectEvent(Object eventSource) - Create instance of this object for the specified event source.
|
PooledObjectEvent(Object eventSource, boolean connectionDeallocated) - Create instance of this object for the specified event source and
* information if the physical connection is deallocated.
|
boolean | isDeallocated() - Check if the physical connection that generated this event is deallocated.
|
PooledObjectEvent
public PooledObjectEvent(Object eventSource)
Create instance of this object for the specified event source. This is
* a shortcut call for PooledObjectEvent(Object, false)
.
*
* @param eventSource event source.
PooledObjectEvent
public PooledObjectEvent(Object eventSource,
boolean connectionDeallocated)
Create instance of this object for the specified event source and
* information if the physical connection is deallocated.
*
* @param eventSource event source.
*
* @param connectionDeallocated true
if physical connection
* is closed.
isDeallocated
public boolean isDeallocated()
Check if the physical connection that generated this event is deallocated.
*
* @return true
if connection was deallocated.
Copyright B) 2001 David Jencks and other authors. All rights reserved.