Class DbPoolSlot

All Implemented Interfaces:
PoolSlot<Session>

public class DbPoolSlot extends AbstractPoolSlot<Session>
Slot of a DbPool holding a pooled session.
Closed sessions are removed from the pool. Remote sessions not belonging to a session group are kept alive while idle.
  • Constructor Details

    • DbPoolSlot

      public DbPoolSlot(Pool<Session> pool, int slotNumber, Session session)
      Creates a slot.
      Parameters:
      pool - the pool
      slotNumber - the slot number within the pool (== pool-ID - 1)
      session - the managed session
  • Method Details