|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectopenlsd.network.client.common.LSDClientCommon
openlsd.network.client.move.LSDClientMove
public class LSDClientMove
Class LSDClientMove is the class that defines function to offer service to client part for Move.
| Field Summary | |
|---|---|
java.lang.String |
md5
MD5 data |
| Fields inherited from class openlsd.network.client.common.LSDClientCommon |
|---|
clientCompressed, connector, executorChainService, hostname, idip, ls, lscsh, poolConnection, serverCompressed, serverPort, session |
| Constructor Summary | |
|---|---|
LSDClientMove(java.lang.String Hostname,
int ServerPort,
boolean immediate,
boolean keepalived)
Create a new ClientMove using a specific Hostname and serverPort. |
|
LSDClientMove(java.lang.String Hostname,
int ServerPort,
boolean ServerCompressed,
boolean ClientCompressed,
boolean immediate,
boolean keepalived)
Create a new ClientMove using a specific Hostname and serverPort and the properties of compression for server and client part. |
|
| Method Summary | |
|---|---|
protected LSDClientCommonSessionHandler |
createSessionHandler()
Create a SessionHandler. |
boolean |
move(java.lang.String key,
boolean unique,
long legacy,
long storage,
long document,
long legacydest,
long storagedest,
long documentdest)
Ask to Move a file identified by the triple legacy, storage and document to another triple, and return its status. |
boolean |
moveInLegacy(java.lang.String key,
boolean unique,
long legacy,
long storage,
long document,
long storagedest,
long documentdest)
Ask to Move a file identified by the triple legacy, storage and document to another triple (with the same legacy), and return its status. |
| Methods inherited from class openlsd.network.client.common.LSDClientCommon |
|---|
clear, clearObject, close, connect, connectionJoin, endClient, endClient, executorsClose, getObject, getStatus, initClient, initShared, isConnected, isSessionOK, lock, realClose, sessionReconnect, setObject, toString, unlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String md5
| Constructor Detail |
|---|
public LSDClientMove(java.lang.String Hostname,
int ServerPort,
boolean immediate,
boolean keepalived)
Hostname - ServerPort - immediate - keepalived -
public LSDClientMove(java.lang.String Hostname,
int ServerPort,
boolean ServerCompressed,
boolean ClientCompressed,
boolean immediate,
boolean keepalived)
Hostname - ServerPort - ServerCompressed - ClientCompressed - immediate - keepalived - | Method Detail |
|---|
protected LSDClientCommonSessionHandler createSessionHandler()
createSessionHandler in class LSDClientCommon
public boolean move(java.lang.String key,
boolean unique,
long legacy,
long storage,
long document,
long legacydest,
long storagedest,
long documentdest)
key - unique - legacy - storage - document - legacydest - storagedest - documentdest -
public boolean moveInLegacy(java.lang.String key,
boolean unique,
long legacy,
long storage,
long document,
long storagedest,
long documentdest)
key - unique - legacy - storage - document - storagedest - documentdest -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||