mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
trunk/branch integration: source indentation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// AbstractCache.h
|
||||
//
|
||||
// $Id: //poco/Main/Foundation/include/Poco/AbstractCache.h#17 $
|
||||
// $Id: //poco/1.4/Foundation/include/Poco/AbstractCache.h#1 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Cache
|
||||
@@ -378,4 +378,4 @@ private:
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif
|
||||
#endif // Foundation_AbstractCache_INCLUDED
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// AbstractDelegate.h
|
||||
//
|
||||
// $Id: //poco/svn/Foundation/include/Poco/AbstractDelegate.h#3 $
|
||||
// $Id: //poco/1.4/Foundation/include/Poco/AbstractDelegate.h#1 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Events
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
}
|
||||
|
||||
virtual bool notify(const void* sender, TArgs& arguments) = 0;
|
||||
/// Returns false, if the Delegate is no longer valid, thus indicating an expire
|
||||
/// Returns false, if the Delegate is no longer valid, thus indicating an expire.
|
||||
|
||||
virtual AbstractDelegate* clone() const = 0;
|
||||
/// Returns a deep-copy of the AbstractDelegate
|
||||
@@ -93,4 +93,4 @@ protected:
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif
|
||||
#endif // Foundation_AbstractDelegate_INCLUDED
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// AbstractPriorityDelegate.h
|
||||
//
|
||||
// $Id: //poco/svn/Foundation/include/Poco/AbstractPriorityDelegate.h#2 $
|
||||
// $Id: //poco/1.4/Foundation/include/Poco/AbstractPriorityDelegate.h#1 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Events
|
||||
@@ -106,4 +106,4 @@ protected:
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif
|
||||
#endif // Foundation_AbstractPriorityDelegate_INCLUDED
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// AccessExpirationDecorator.h
|
||||
//
|
||||
// $Id: //poco/svn/Foundation/include/Poco/AccessExpirationDecorator.h#2 $
|
||||
// $Id: //poco/1.4/Foundation/include/Poco/AccessExpirationDecorator.h#1 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Events
|
||||
@@ -102,4 +102,4 @@ private:
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif
|
||||
#endif // Foundation_AccessExpirationDecorator_INCLUDED
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// AccessExpireCache.h
|
||||
//
|
||||
// $Id: //poco/svn/Foundation/include/Poco/AccessExpireCache.h#2 $
|
||||
// $Id: //poco/1.4/Foundation/include/Poco/AccessExpireCache.h#1 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Cache
|
||||
@@ -53,7 +53,7 @@ template <
|
||||
class TMutex = FastMutex,
|
||||
class TEventMutex = FastMutex
|
||||
>
|
||||
class AccessExpireCache: public AbstractCache<TKey, TValue, AccessExpireStrategy<TKey, TValue>, TMutex, TEventMutex >
|
||||
class AccessExpireCache: public AbstractCache<TKey, TValue, AccessExpireStrategy<TKey, TValue>, TMutex, TEventMutex>
|
||||
/// An AccessExpireCache caches entries for a fixed time period (per default 10 minutes).
|
||||
/// Entries expire when they are not accessed with get() during this time period. Each access resets
|
||||
/// the start time for expiration.
|
||||
@@ -82,4 +82,4 @@ private:
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif
|
||||
#endif // Foundation_AccessExpireCache_INCLUDED
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// AccessExpireLRUCache.h
|
||||
//
|
||||
// $Id: //poco/svn/Foundation/include/Poco/AccessExpireLRUCache.h#2 $
|
||||
// $Id: //poco/1.4/Foundation/include/Poco/AccessExpireLRUCache.h#1 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Cache
|
||||
@@ -62,7 +62,7 @@ class AccessExpireLRUCache: public AbstractCache<TKey, TValue, StrategyCollectio
|
||||
{
|
||||
public:
|
||||
AccessExpireLRUCache(long cacheSize = 1024, Timestamp::TimeDiff expire = 600000):
|
||||
AbstractCache<TKey, TValue, StrategyCollection<TKey, TValue>, TMutex, TEventMutex>(StrategyCollection<TKey, TValue>())
|
||||
AbstractCache<TKey, TValue, StrategyCollection<TKey, TValue>, TMutex, TEventMutex >(StrategyCollection<TKey, TValue>())
|
||||
{
|
||||
this->_strategy.pushBack(new LRUStrategy<TKey, TValue>(cacheSize));
|
||||
this->_strategy.pushBack(new AccessExpireStrategy<TKey, TValue>(expire));
|
||||
@@ -81,4 +81,4 @@ private:
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif
|
||||
#endif // Foundation_AccessExpireLRUCache_INCLUDED
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// AccessExpireStrategy.h
|
||||
//
|
||||
// $Id: //poco/svn/Foundation/include/Poco/AccessExpireStrategy.h#2 $
|
||||
// $Id: //poco/1.4/Foundation/include/Poco/AccessExpireStrategy.h#1 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Cache
|
||||
@@ -90,4 +90,4 @@ public:
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif
|
||||
#endif // Foundation_AccessExpireStrategy_INCLUDED
|
||||
|
Reference in New Issue
Block a user