|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.magnos.data.store.factory.MappedStoreFactory
public class MappedStoreFactory
A factory for creating mapped file stores.
Constructor Summary | |
---|---|
MappedStoreFactory()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappedStoreFactory()
Method Detail |
---|
public Store create(java.lang.String name, int capacity)
create
in interface StoreFactory
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.
public Store create(java.lang.String name)
create
in interface StoreFactory
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 |