|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryReplication
The interface for replication of the data in a repository.
Method Summary | |
---|---|
InputStream |
get(long version)
Gets the specified version. |
org.apache.ace.range.SortedRangeSet |
getRange()
Determines the versions inside the repository. |
boolean |
put(InputStream data,
long version)
Store the stream data as the specified version. |
Method Detail |
---|
org.apache.ace.range.SortedRangeSet getRange() throws IOException
IOException
- If there is an error determining the current versions.InputStream get(long version) throws IOException, IllegalArgumentException
null
if the version does not exist.
IOException
- If there is an error reading the version.
IllegalArgumentException
- If the specified version is not greater than 0.boolean put(InputStream data, long version) throws IOException, IllegalArgumentException
IOException
- If the stream data could not be stored successfully due to I/O problems.
IllegalArgumentException
- If the version number is not greater than 0.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |