C# Class PutioFS.Core.LocalFileCache

Show file Open project: firat/PutioFS Class Usage Examples

Public Properties

Property Type Description
PutioFile PutioFile
RangeCollection LongRangeCollection

Public Methods

Method Description
CacheRange ( long offset ) : long

Return how much is buffered after offset.

Contains ( long offset, long end ) : System.Boolean
GetNextBufferRange ( long offset ) : LongRange
Init ( ) : void
LocalFileCache ( PutioFile file ) : System
MarkAsBuffered ( long start, long end ) : void
UpdateIndexFile ( ) : void
WaitToBuffer ( long range_start, long range_end ) : void

Method Details

CacheRange() public method

Return how much is buffered after offset.
public CacheRange ( long offset ) : long
offset long
return long

Contains() public method

public Contains ( long offset, long end ) : System.Boolean
offset long
end long
return System.Boolean

GetNextBufferRange() public method

public GetNextBufferRange ( long offset ) : LongRange
offset long
return LongRange

Init() public method

public Init ( ) : void
return void

LocalFileCache() public method

public LocalFileCache ( PutioFile file ) : System
file PutioFile
return System

MarkAsBuffered() public method

public MarkAsBuffered ( long start, long end ) : void
start long
end long
return void

UpdateIndexFile() public method

public UpdateIndexFile ( ) : void
return void

WaitToBuffer() public method

public WaitToBuffer ( long range_start, long range_end ) : void
range_start long
range_end long
return void

Property Details

PutioFile public property

public PutioFile,PutioFS.Core PutioFile
return PutioFile

RangeCollection public property

public LongRangeCollection,PutioFS.Core RangeCollection
return LongRangeCollection