org.eclipse.rse.files.ui.resources
Interface ISystemCachedRemoteResource
-
public interface ISystemCachedRemoteResource
This is the cached remote resource.
Field Summary
|
static int
|
CHANGES_CONFLICT
Constant indicating both local and server copy have changed. |
static int
|
CHANGES_INCOMING
Constant indicating server copy has changed, but not local copy. |
static int
|
CHANGES_NONE
Constant indicating no changes. |
static int
|
CHANGES_OUTGOING
Constant indicating local copy has changed, but not server copy. |
CHANGES_NONE
static final int CHANGES_NONE
- Constant indicating no changes.
-
See Also:
-
Constant Field Values
CHANGES_OUTGOING
static final int CHANGES_OUTGOING
- Constant indicating local copy has changed, but not server copy.
-
See Also:
-
Constant Field Values
CHANGES_INCOMING
static final int CHANGES_INCOMING
- Constant indicating server copy has changed, but not local copy.
-
See Also:
-
Constant Field Values
CHANGES_CONFLICT
static final int CHANGES_CONFLICT
- Constant indicating both local and server copy have changed.
-
See Also:
-
Constant Field Values
lastRemoteModified
long lastRemoteModified()
- Get the last modified time on the server. Calling this when connected will
query it from the server, but calling it in disconnected mode will
query it from disk.
-
-
Returns:
- the last modified time on the server
lastLocalModified
long lastLocalModified()
- Get the last modified time on the client.
-
-
Returns:
- the last modified time on the client
lastSuccessfulSynch
long lastSuccessfulSynch()
- Get the last time of download or synchronization.
-
-
Returns:
- the time of the last download or synchronization
isSynchronized
boolean isSynchronized()
- Returns whether the local and remote copies are synchronized.
-
-
Returns:
-
true
if the local and remote copies are synchronized,
false
otherwise.
getState
int getState()
- Get the state of the cache.
-
-
Returns:
- CHANGES_NONE if both local and remote copies are in sync,
CHANGES_OUTGOING if the local copy has changed but not the server copy,
CHANGES_INCOMING if the server copy has changed but not the local copy,
CHANGES_CONFLICT if both the local copy and server copy have changed.
dispose
void dispose()
- Dispose of the cache.
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.