Java Code Examples for org.redisson.api.RKeys#flushdb()

The following examples show how to use org.redisson.api.RKeys#flushdb() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GlobalBloomFilterTestCase.java    From jstarcraft-nlp with Apache License 2.0 4 votes vote down vote up
@BeforeEach
public void beforeTest() {
    RKeys keys = redisson.getKeys();
    keys.flushdb();
}
 
Example 2
Source File: GlobalBloomFilterTestCase.java    From jstarcraft-nlp with Apache License 2.0 4 votes vote down vote up
@AfterEach
public void afterTest() {
    RKeys keys = redisson.getKeys();
    keys.flushdb();
}
 
Example 3
Source File: RedisCacheTest.java    From gcp-token-broker with Apache License 2.0 4 votes vote down vote up
@After
public void teardown() {
    // Clear the database
    RKeys keys = client.getKeys();
    keys.flushdb();
}
 
Example 4
Source File: RedisQualityAttributeTestCase.java    From jstarcraft-ai with Apache License 2.0 4 votes vote down vote up
@Before
public void beforeTest() {
    RKeys keys = redisson.getKeys();
    keys.flushdb();
}
 
Example 5
Source File: RedisQualityAttributeTestCase.java    From jstarcraft-ai with Apache License 2.0 4 votes vote down vote up
@After
public void afterTest() {
    RKeys keys = redisson.getKeys();
    keys.flushdb();
}
 
Example 6
Source File: RedisQuantityAttributeTestCase.java    From jstarcraft-ai with Apache License 2.0 4 votes vote down vote up
@Before
public void beforeTest() {
    RKeys keys = redisson.getKeys();
    keys.flushdb();
}
 
Example 7
Source File: RedisQuantityAttributeTestCase.java    From jstarcraft-ai with Apache License 2.0 4 votes vote down vote up
@After
public void afterTest() {
    RKeys keys = redisson.getKeys();
    keys.flushdb();
}