java.lang.Object
com.github.mizosoft.methanol.testing.store.StoreContext
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
DiskStoreContext
,MemoryStoreContext
,RedisClusterStoreContext
,RedisStandaloneStoreContext
A group of created
Store
instances and their associated configuration as required by a
test case. There's a specialized context class for each store type.-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
config()
static StoreContext
from
(StoreConfig config)
-
Method Details
-
config
-
createAndRegisterStore
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
from
- Throws:
IOException
-