org.csource.fastdfs
类 StorageServer

java.lang.Object
  继承者 org.csource.fastdfs.TrackerServer
      继承者 org.csource.fastdfs.StorageServer

public class StorageServer
extends TrackerServer

Storage Server Info

版本:
Version 1.11
作者:
Happy Fish / YuQing

字段摘要
protected  int store_path_index
           
 
从类 org.csource.fastdfs.TrackerServer 继承的字段
inetSockAddr, sock
 
构造方法摘要
StorageServer(String ip_addr, int port, byte store_path)
          Constructor
StorageServer(String ip_addr, int port, int store_path)
          Constructor
 
方法摘要
 int getStorePathIndex()
           
 
从类 org.csource.fastdfs.TrackerServer 继承的方法
close, finalize, getInetSocketAddress, getInputStream, getOutputStream, getSocket
 
从类 java.lang.Object 继承的方法
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

store_path_index

protected int store_path_index
构造方法详细信息

StorageServer

public StorageServer(String ip_addr,
                     int port,
                     int store_path)
              throws IOException
Constructor

参数:
ip_addr - the ip address of storage server
port - the port of storage server
store_path - the store path index on the storage server
抛出:
IOException

StorageServer

public StorageServer(String ip_addr,
                     int port,
                     byte store_path)
              throws IOException
Constructor

参数:
ip_addr - the ip address of storage server
port - the port of storage server
store_path - the store path index on the storage server
抛出:
IOException
方法详细信息

getStorePathIndex

public int getStorePathIndex()
返回:
the store path index on the storage server


Copyright © 2017. All rights reserved.