Class DefaultStores
- java.lang.Object
-
- com.github.tomakehurst.wiremock.store.DefaultStores
-
- All Implemented Interfaces:
Stores,StoresLifecycle
public class DefaultStores extends java.lang.Object implements Stores
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.tomakehurst.wiremock.store.Stores
Stores.PersistenceType
-
-
Constructor Summary
Constructors Constructor Description DefaultStores(FileSource fileRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobStoregetBlobStore(java.lang.String name)ObjectStoregetObjectStore(java.lang.String name, Stores.PersistenceType persistenceTypeHint, int maxItems)RecorderStateStoregetRecorderStateStore()RequestJournalStoregetRequestJournalStore()ScenariosStoregetScenariosStore()SettingsStoregetSettingsStore()StubMappingStoregetStubStore()voidstart()voidstop()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.tomakehurst.wiremock.store.Stores
getFilesBlobStore, getMappingsBlobStore, getObjectStore, getObjectStore
-
-
-
-
Constructor Detail
-
DefaultStores
public DefaultStores(FileSource fileRoot)
-
-
Method Detail
-
getStubStore
public StubMappingStore getStubStore()
- Specified by:
getStubStorein interfaceStores
-
getRequestJournalStore
public RequestJournalStore getRequestJournalStore()
- Specified by:
getRequestJournalStorein interfaceStores
-
getSettingsStore
public SettingsStore getSettingsStore()
- Specified by:
getSettingsStorein interfaceStores
-
getScenariosStore
public ScenariosStore getScenariosStore()
- Specified by:
getScenariosStorein interfaceStores
-
getRecorderStateStore
public RecorderStateStore getRecorderStateStore()
- Specified by:
getRecorderStateStorein interfaceStores
-
getBlobStore
public BlobStore getBlobStore(java.lang.String name)
- Specified by:
getBlobStorein interfaceStores
-
getObjectStore
public ObjectStore getObjectStore(java.lang.String name, Stores.PersistenceType persistenceTypeHint, int maxItems)
- Specified by:
getObjectStorein interfaceStores
-
start
public void start()
- Specified by:
startin interfaceStoresLifecycle
-
stop
public void stop()
- Specified by:
stopin interfaceStoresLifecycle
-
-