Namespaces | |
namespace | CachedSingletonFactory |
Classes | |
class | AsyncResult |
async result. More... | |
class | BeforeAfterExecutor |
class | BlockingQueue |
This class is a Queue<T> wrapper that waits at Dequeue() until an item becomes available. More... | |
class | ExtendedBeforeAfterExecutor |
class | ExtendedFailSafeExecutor |
class | FailSafeBatchExecutor |
An IExecutor that can be used for a PoolFiber to catch and log or forward exceptions that happen during execution. More... | |
struct | Lock |
This IDisposable uses the Monitor class. It is used to replaces try-finally blocks with "using" statements. More... | |
class | LockTimeoutException |
This exception type is thrown if a timeout occurs when creating an instance of Lock, ReadLock, WriteLock or UpgradeableReadLock. More... | |
struct | ReadLock |
This IDisposable uses the ReaderWriterLockSlim for critical sections that allow one writer and multiple reader. The counter parts are WriteLock and UpgradeableReadLock. It is used to replaces try-finally blocks with "using" statements. More... | |
class | SimpleBaseFactory |
A base class for a simple factory using a ReaderWriterLockSlim. More... | |
class | SynchronizedDictionary |
Represents a thread-safe collection of key-value pairs that can be accessed by multiple threads concurrently. If using the Net 4.0 framework you should consider to use the new System.Collections.Concurrent.ConcurrentDictionary. The SynchronizedDictionary provides methods similar to the ConcurrentDictionary to provide a thread safe Dictionary for .NET 3.5 and earlier. More... | |
class | SynchronizedSingletonFactory |
This class is used to create instances that are unique per key in a multi-threaded environment. It uses a ReaderWriterLockSlim for read and write access to the Instances. Instance creations are synchronized with a Monitor on an object that is unique per key. This approach is designed to minimize the impact of long running instance creations on other threads. More... | |
class | Timer |
This class is a manager for scheduled callbacks. More... | |
class | UnsynchronizedSingletonFactory |
This class is used to create instances that are unique per key. More... | |
struct | UpgradeableReadLock |
This IDisposable uses the ReaderWriterLockSlim for critical sections that allow one writer and multiple reader. The counter parts are WriteLock and ReadLock. It is used to replaces try-finally blocks with "using" statements. More... | |
struct | WriteLock |
This IDisposable uses the ReaderWriterLockSlim for critical sections that allow one writer and multiple reader. The counter parts are ReadLock and UpgradeableReadLock. It is used to replaces try-finally blocks with "using" statements. More... | |
Functions | |
delegate bool | CreateMethodDelegate< TKey, TValue > (TKey key, out TValue value) |
The delegate that creates new instances. More... | |
delegate bool ExitGames.Threading.CreateMethodDelegate< TKey, TValue > | ( | TKey | key, |
out TValue | value | ||
) |
The delegate that creates new instances.
key | The key. |
value | The output value. |
TKey | The type of key. |
TValue | The type of value. |