org.infinispan.server.memcached
Class TextServer

java.lang.Object
  extended by org.infinispan.server.memcached.TextServer

public class TextServer
extends Object

TextServer.

Since:
4.1
Author:
Galder ZamarreƱo

Constructor Summary
TextServer(String host, int port, Cache<String,Value> cache, int masterThreads, int workerThreads)
           
TextServer(String host, int port, String configFile, int masterThreads, int workerThreads)
           
 
Method Summary
 int getPort()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextServer

public TextServer(String host,
                  int port,
                  String configFile,
                  int masterThreads,
                  int workerThreads)
           throws IOException
Throws:
IOException

TextServer

public TextServer(String host,
                  int port,
                  Cache<String,Value> cache,
                  int masterThreads,
                  int workerThreads)
           throws IOException
Throws:
IOException
Method Detail

getPort

public int getPort()

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.