Module methanol.testing
Class RedisStandaloneSession
java.lang.Object
com.github.mizosoft.methanol.testing.store.RedisStandaloneSession
- All Implemented Interfaces:
RedisSession
,AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
Returnstrue
if this session is operable.logFiles()
Returns the log files attached to this session.boolean
reset()
Resets this session to its initial state.static RedisStandaloneSession
start()
static RedisStandaloneSession
toString()
io.lettuce.core.RedisURI
uri()
-
Method Details
-
uri
public io.lettuce.core.RedisURI uri() -
directory
-
logFiles
Description copied from interface:RedisSession
Returns the log files attached to this session.- Specified by:
logFiles
in interfaceRedisSession
-
reset
public boolean reset()Description copied from interface:RedisSession
Resets this session to its initial state. Returnstrue
if the session is operable after being reset.- Specified by:
reset
in interfaceRedisSession
-
isHealthy
public boolean isHealthy()Description copied from interface:RedisSession
Returnstrue
if this session is operable.- Specified by:
isHealthy
in interfaceRedisSession
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceRedisSession
- Throws:
IOException
-
toString
-
start
- Throws:
IOException
-
start
- Throws:
IOException
-