|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoreFactory
A factory for creating stores given their name and their desired capacity.
Method Summary | |
---|---|
Store |
create(java.lang.String name)
Creates a store given its name. |
Store |
create(java.lang.String name,
int capacity)
Creates a store given its name and desired capacity. |
Method Detail |
---|
Store create(java.lang.String name, int capacity)
name
- The name of the store. If the store is persistable this may be the
file name to the file to which the store is persisted. If the store
is memory based then it is merely a reference.capacity
- The desired capacity of the store in bytes.
Store create(java.lang.String name)
name
- The name of the store. If the store is persistable this may be the
file name to the file to which the store is persisted. If the store
is memory based then it is merely a reference.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |