com.lordofthejars.nosqlunit.redis
Class RedisConfiguration

java.lang.Object
  extended by com.lordofthejars.nosqlunit.core.AbstractJsr330Configuration
      extended by com.lordofthejars.nosqlunit.redis.AbstractRedisConfiguration
          extended by com.lordofthejars.nosqlunit.redis.RedisConfiguration
All Implemented Interfaces:
Configuration

public class RedisConfiguration
extends AbstractRedisConfiguration


Field Summary
 
Fields inherited from class com.lordofthejars.nosqlunit.redis.AbstractRedisConfiguration
databaseOperation
 
Fields inherited from class com.lordofthejars.nosqlunit.core.AbstractJsr330Configuration
connectionIdentifier
 
Constructor Summary
RedisConfiguration()
           
RedisConfiguration(String host, int port, String password)
           
 
Method Summary
 String getHost()
           
 String getMasterHost()
           
 int getMasterPort()
           
 String getPassword()
           
 int getPort()
           
 boolean isSlave()
           
 void salveOf(String host, int port)
           
 void setHost(String host)
           
 void setPassword(String password)
           
 void setPort(int port)
           
 
Methods inherited from class com.lordofthejars.nosqlunit.redis.AbstractRedisConfiguration
getDatabaseOperation, setDatabaseOperation
 
Methods inherited from class com.lordofthejars.nosqlunit.core.AbstractJsr330Configuration
getConnectionIdentifier, setConnectionIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedisConfiguration

public RedisConfiguration()

RedisConfiguration

public RedisConfiguration(String host,
                          int port,
                          String password)
Method Detail

getHost

public String getHost()

setHost

public void setHost(String host)

getPort

public int getPort()

setPort

public void setPort(int port)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

salveOf

public void salveOf(String host,
                    int port)

getMasterHost

public String getMasterHost()

getMasterPort

public int getMasterPort()

isSlave

public boolean isSlave()


Copyright © 2012. All Rights Reserved.