Class FinalizingBrokerImpl

java.lang.Object
org.apache.openjpa.kernel.BrokerImpl
org.apache.openjpa.kernel.FinalizingBrokerImpl
All Implemented Interfaces:
jakarta.transaction.Synchronization, Serializable, Cloneable, CallbackModes, AutoClear, AutoDetach, Broker, ConnectionRetainModes, DetachState, FindCallbacks, LockLevels, RestoreState, StoreContext, Closeable
Direct Known Subclasses:
DistributedBrokerImpl

public class FinalizingBrokerImpl extends BrokerImpl
Subtype of BrokerImpl that automatically closes itself during finalization. This implementation guards against potential resource leaks, but also incurs a scalability bottleneck as instances are enlisted in the finalization queue and subsequently cleaned up.
Since:
0.9.7
See Also:
  • Constructor Details

    • FinalizingBrokerImpl

      public FinalizingBrokerImpl()
  • Method Details