Methods Summary |
---|
public void | close()
try{
this_mon.enter();
closeSupport( true );
}finally{
this_mon.exit();
}
|
public long | getLength()
try{
this_mon.enter();
ensureOpen( "FMFileUnlimited:getLength" );
return( getLengthSupport());
}finally{
this_mon.exit();
}
|
public void | read(org.gudy.azureus2.core3.util.DirectByteBuffer buffer, long offset)
try{
this_mon.enter();
ensureOpen( "FMFileUnlimited:read" );
readSupport( buffer, offset );
}finally{
this_mon.exit();
}
|
public void | read(org.gudy.azureus2.core3.util.DirectByteBuffer[] buffers, long offset)
try{
this_mon.enter();
ensureOpen( "FMFileUnlimited:read" );
readSupport( buffers, offset );
}finally{
this_mon.exit();
}
|
public void | setAccessMode(int mode)
try{
this_mon.enter();
if ( mode == getAccessMode() && isOpen()){
return;
}
setAccessModeSupport( mode );
if ( isOpen()){
closeSupport( false );
}
openSupport( "FMFileUnlimited:setAccessMode" );
}finally{
this_mon.exit();
}
|
public void | setLength(long length)
try{
this_mon.enter();
ensureOpen( "FMFileUnlimited:setLength" );
setLengthSupport( length );
}finally{
this_mon.exit();
}
|
public void | write(org.gudy.azureus2.core3.util.DirectByteBuffer buffer, long position)
try{
this_mon.enter();
ensureOpen( "FMFileUnlimited:write" );
writeSupport( buffer, position );
}finally{
this_mon.exit();
}
|
public void | write(org.gudy.azureus2.core3.util.DirectByteBuffer[] buffers, long position)
try{
this_mon.enter();
ensureOpen( "FMFileUnlimited:write" );
writeSupport( buffers, position );
}finally{
this_mon.exit();
}
|