|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.misc.GetFileCacheItem
This class defines a state item that is used to store information about a
file that can be retrieved by the GetFile servlet.
| Constructor Summary | |
GetFileCacheItem(java.lang.String baseName,
int numFiles)
Creates a new cache item for a file with the specified base name and total number of files. |
|
| Method Summary | |
java.lang.String |
nextFileName()
Retrieves the name of the next file that should be retrieved. |
java.lang.String |
randomFileName()
Retrieves the name of a random file that should be retrieved. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GetFileCacheItem(java.lang.String baseName,
int numFiles)
baseName - The base name for the file with which this cache item is
associated.numFiles - The total number of files available with the specified
base name.| Method Detail |
public java.lang.String nextFileName()
public java.lang.String randomFileName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||