org.csource.fastdfs
Class StorageServer
java.lang.Object
org.csource.fastdfs.TrackerServer
org.csource.fastdfs.StorageServer
public class StorageServer
- extends TrackerServer
Storage Server Info
- Version:
- Version 1.11
- Author:
- Happy Fish / YuQing
Constructor Summary |
StorageServer(java.lang.String ip_addr,
int port,
byte store_path)
Constructor |
StorageServer(java.lang.String ip_addr,
int port,
int store_path)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
store_path_index
protected int store_path_index
StorageServer
public StorageServer(java.lang.String ip_addr,
int port,
int store_path)
throws java.io.IOException
- Constructor
- Parameters:
ip_addr
- the ip address of storage serverport
- the port of storage serverstore_path
- the store path index on the storage server
- Throws:
java.io.IOException
StorageServer
public StorageServer(java.lang.String ip_addr,
int port,
byte store_path)
throws java.io.IOException
- Constructor
- Parameters:
ip_addr
- the ip address of storage serverport
- the port of storage serverstore_path
- the store path index on the storage server
- Throws:
java.io.IOException
getStorePathIndex
public int getStorePathIndex()
- Returns:
- the store path index on the storage server