LibreOffice Module connectivity (master) 1
|
OPoolTimer - Invalidates the connection pool. More...
#include <ZConnectionPool.hxx>
Public Member Functions | |
OPoolTimer (OConnectionPool *_pPool, const ::salhelper::TTimeValue &Time) | |
Public Member Functions inherited from salhelper::Timer | |
Timer () | |
Timer (const TTimeValue &Time) | |
Timer (const TTimeValue &Time, const TTimeValue &RepeatTime) | |
void SAL_CALL | start () |
void SAL_CALL | stop () |
sal_Bool SAL_CALL | isTicking () const |
sal_Bool SAL_CALL | isExpired () const |
sal_Bool SAL_CALL | expiresBefore (const Timer *pTimer) const |
void SAL_CALL | setAbsoluteTime (const TTimeValue &Time) |
void SAL_CALL | setRemainingTime (const TTimeValue &Remaining) |
void SAL_CALL | setRemainingTime (const TTimeValue &Remaining, const TTimeValue &Repeat) |
void SAL_CALL | addTime (const TTimeValue &Time) |
TTimeValue SAL_CALL | getRemainingTime () const |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Member Functions | |
virtual void SAL_CALL | onShot () override |
Protected Member Functions inherited from salhelper::Timer | |
virtual | ~Timer () SAL_OVERRIDE |
virtual void SAL_CALL | onShot ()=0 |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Private Attributes | |
OConnectionPool * | m_pPool |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Attributes inherited from salhelper::Timer | |
TTimeValue | m_aTimeOut |
TTimeValue | m_aExpired |
TTimeValue | m_aRepeatDelta |
Timer * | m_pNext |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
OPoolTimer - Invalidates the connection pool.
Definition at line 43 of file ZConnectionPool.hxx.
|
inline |
Definition at line 47 of file ZConnectionPool.hxx.
References Time.
|
overrideprotectedvirtual |
Implements salhelper::Timer.
Definition at line 39 of file ZConnectionPool.cxx.
References connectivity::OConnectionPool::invalidatePooledConnections(), and m_pPool.
|
private |
Definition at line 45 of file ZConnectionPool.hxx.
Referenced by onShot().