Clearspace API (1.7.0) Core Javadocs

com.jivesoftware.community
Class BanManagerFactory

java.lang.Object
  extended by com.jivesoftware.community.BanManagerFactory

public final class BanManagerFactory
extends java.lang.Object

A factory that returns a concrete instance of a BanManager


Nested Class Summary
static class BanManagerFactory.BanCacheKey
           
 
Field Summary
static com.jivesoftware.community.cache.Cache<BanManagerFactory.BanCacheKey,java.lang.Long> banCache
          A cache for user and ip address bans.
static com.jivesoftware.community.cache.Cache<BanManagerFactory.BanCacheKey,java.lang.Object> banMissCache
          A cache for missed ban objects.
static com.jivesoftware.community.cache.Cache<java.lang.Long,Ban> banObjectCache
          A cache for ban objects.
 
Method Summary
static java.lang.Object getBanLock(long banID)
           
static BanManager getInstance()
          Returns a concrete implementation of the BanManager interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

banObjectCache

public static com.jivesoftware.community.cache.Cache<java.lang.Long,Ban> banObjectCache
A cache for ban objects. This cache is not instantiated until after this factory is initialized.


banCache

public static com.jivesoftware.community.cache.Cache<BanManagerFactory.BanCacheKey,java.lang.Long> banCache
A cache for user and ip address bans. This cache is not instantiated until after this factory is initialized.

See Also:
BanManagerFactory.BanCacheKey

banMissCache

public static com.jivesoftware.community.cache.Cache<BanManagerFactory.BanCacheKey,java.lang.Object> banMissCache
A cache for missed ban objects. This cache is not instantiated until after this factory is initialized.

See Also:
BanManagerFactory.BanCacheKey
Method Detail

getInstance

public static BanManager getInstance()
Returns a concrete implementation of the BanManager interface.

Returns:
a concrete implementation of BanManager interface

getBanLock

public static java.lang.Object getBanLock(long banID)

Clearspace Project Page

Copyright © 1999-2007 Jive Software.