Clearspace API (1.10.16) Core Javadocs

com.jivesoftware.community.event
Class StorageManagerEvent

java.lang.Object
  extended by com.jivesoftware.community.event.StorageManagerEvent
All Implemented Interfaces:
JiveEvent

public class StorageManagerEvent
extends java.lang.Object
implements JiveEvent

A class for storage manager events. This class will be passed to StorageManagerListeners whenever a storage manager event is fired and contains all the pertinent information to the event.


Field Summary
static int FILE_SYSTEM_CACHE_MODE_CHANGED
          Event type for whenever the storage fs cache mode is changed.
static int FILE_SYSTEM_CACHE_SIZE_CHANGED
          Event type for whenever the storage fs cache size is changed.
static int STORAGE_MODE_CHANGED
          Event type for whenever the storage mode is changed
 
Constructor Summary
StorageManagerEvent(int eventType)
           
 
Method Summary
 java.util.Date getDate()
          Returns the date (as a Date object) that the event was created.
 int getEventType()
          Returns the event type corresponding to the event.
 java.util.Map<java.lang.String,? extends java.lang.Object> getParams()
          Returns a map of parameters which can be used to pass data to a listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STORAGE_MODE_CHANGED

public static final int STORAGE_MODE_CHANGED
Event type for whenever the storage mode is changed

See Also:
Constant Field Values

FILE_SYSTEM_CACHE_MODE_CHANGED

public static final int FILE_SYSTEM_CACHE_MODE_CHANGED
Event type for whenever the storage fs cache mode is changed.

See Also:
Constant Field Values

FILE_SYSTEM_CACHE_SIZE_CHANGED

public static final int FILE_SYSTEM_CACHE_SIZE_CHANGED
Event type for whenever the storage fs cache size is changed.

See Also:
Constant Field Values
Constructor Detail

StorageManagerEvent

public StorageManagerEvent(int eventType)
Method Detail

getEventType

public int getEventType()
Description copied from interface: JiveEvent
Returns the event type corresponding to the event.

Specified by:
getEventType in interface JiveEvent
Returns:
the event type corresponding to the event.

getParams

public java.util.Map<java.lang.String,? extends java.lang.Object> getParams()
Description copied from interface: JiveEvent
Returns a map of parameters which can be used to pass data to a listener.

Specified by:
getParams in interface JiveEvent
Returns:
map of parameters which can be used to pass data to a listener.

getDate

public java.util.Date getDate()
Description copied from interface: JiveEvent
Returns the date (as a Date object) that the event was created.

Specified by:
getDate in interface JiveEvent
Returns:
the date (as a Date object) that the event was created.

Clearspace Project Page

Copyright © 1999-2007 Jive Software.