com.lordofthejars.nosqlunit.redis
Class EmbeddedRedisLifecycleManager

java.lang.Object
  extended by com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
      extended by com.lordofthejars.nosqlunit.redis.EmbeddedRedisLifecycleManager
All Implemented Interfaces:
LifecycleManager

public class EmbeddedRedisLifecycleManager
extends AbstractLifecycleManager


Field Summary
static String INMEMORY_REDIS_TARGET_PATH
           
protected static String LOCALHOST
           
protected static int PORT
           
 
Constructor Summary
EmbeddedRedisLifecycleManager()
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
protected  String getHost()
           
protected  int getPort()
           
 String getTargetPath()
           
 void setTargetPath(String targetPath)
           
 
Methods inherited from class com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
startEngine, stopEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALHOST

protected static final String LOCALHOST
See Also:
Constant Field Values

PORT

protected static final int PORT
See Also:
Constant Field Values

INMEMORY_REDIS_TARGET_PATH

public static final String INMEMORY_REDIS_TARGET_PATH
Constructor Detail

EmbeddedRedisLifecycleManager

public EmbeddedRedisLifecycleManager()
Method Detail

getHost

protected String getHost()
Specified by:
getHost in class AbstractLifecycleManager

getPort

protected int getPort()
Specified by:
getPort in class AbstractLifecycleManager

doStart

protected void doStart()
                throws Throwable
Specified by:
doStart in class AbstractLifecycleManager
Throws:
Throwable

doStop

protected void doStop()
Specified by:
doStop in class AbstractLifecycleManager

setTargetPath

public void setTargetPath(String targetPath)

getTargetPath

public String getTargetPath()


Copyright © 2012. All Rights Reserved.