|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
addStorageSizeListener(I_StorageSizeListener listener)
Adds a storage size listener to the storage. |
long |
getMaxNumOfEntries()
Returns the maximum number of elements for this queue |
long |
getNumOfBytes()
Returns the amount of bytes currently in the queue If the implementation of this interface is not able to return the correct number of entries (for example if the implementation must make a remote call to a DB which is temporarly not available) it will return -1. |
long |
getNumOfEntries()
Returns the number of elements in this queue. |
StorageId |
getStorageId()
Returns the unique ID of this queue. |
I_StorageSizeListener[] |
getStorageSizeListeners()
|
boolean |
hasStorageSizeListener(I_StorageSizeListener listener)
Checks wether the specified listener is registered. |
boolean |
isShutdown()
Performs what has to be done when the Map Plugin shuts down. |
boolean |
isTransient()
|
void |
removeStorageSizeListener(I_StorageSizeListener listener)
Removes the specified listener from the queue. |
| Method Detail |
public boolean isTransient()
public StorageId getStorageId()
public long getMaxNumOfEntries()
public void removeStorageSizeListener(I_StorageSizeListener listener)
listener - the listener to be removed. Currently only one.
If you pass null, all queueSizeListeners are removed.
java.lang.IllegalArgumentException - if the listener was not foundpublic boolean hasStorageSizeListener(I_StorageSizeListener listener)
listener - the listener to check against. If you pass null
it checks if at least one listener exists.
public I_StorageSizeListener[] getStorageSizeListeners()
public void addStorageSizeListener(I_StorageSizeListener listener)
listener - the listener to be added, adding the same listener multiple times will only remember one and fire once
java.lang.IllegalArgumentException - if you pass nullpublic long getNumOfEntries()
public long getNumOfBytes()
public boolean isShutdown()
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||