redis.clients.util
Class ClusterNodeInformationParser

java.lang.Object
  extended by redis.clients.util.ClusterNodeInformationParser

public class ClusterNodeInformationParser
extends Object


Field Summary
static int HOST_AND_PORT_INDEX
           
static int SLOT_INFORMATIONS_START_INDEX
           
 
Constructor Summary
ClusterNodeInformationParser()
           
 
Method Summary
 HostAndPort getHostAndPortFromNodeLine(String[] nodeInfoPartArray, HostAndPort current)
           
 ClusterNodeInformation parse(String nodeInfo, HostAndPort current)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SLOT_INFORMATIONS_START_INDEX

public static final int SLOT_INFORMATIONS_START_INDEX
See Also:
Constant Field Values

HOST_AND_PORT_INDEX

public static final int HOST_AND_PORT_INDEX
See Also:
Constant Field Values
Constructor Detail

ClusterNodeInformationParser

public ClusterNodeInformationParser()
Method Detail

parse

public ClusterNodeInformation parse(String nodeInfo,
                                    HostAndPort current)

getHostAndPortFromNodeLine

public HostAndPort getHostAndPortFromNodeLine(String[] nodeInfoPartArray,
                                              HostAndPort current)


Copyright © 2014. All rights reserved.