org.entityfs.ram
Class RamFileSystemAdapter

java.lang.Object
  extended by org.entityfs.impl.impl.adapter.AbstractFileSystemAdapter
      extended by org.entityfs.ram.RamFileSystemAdapter
All Implemented Interfaces:
FileSystemAdapter

public final class RamFileSystemAdapter
extends AbstractFileSystemAdapter

Since:
1.0
Author:
Karl Gustafsson
In_jar:
entityfs-ram

Constructor Summary
RamFileSystemAdapter(LogAdapterHolder lah, int bufSize, int segmentSize, org.entityfs.ram.RamFileSystemSizeGuard sg)
           
 
Method Summary
 int getSegmentSize()
           
 org.entityfs.ram.RamFileSystemSizeGuard getSizeGuard()
           
 boolean isCaseSensitive()
          Is the file system backend case sensitive?
 void setSizeGuard(org.entityfs.ram.RamFileSystemSizeGuard sg)
          This should only be used for testing.
 
Methods inherited from class org.entityfs.impl.impl.adapter.AbstractFileSystemAdapter
close, getBufferSize, getLogAdapter, init, validateEntityName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RamFileSystemAdapter

public RamFileSystemAdapter(LogAdapterHolder lah,
                            int bufSize,
                            int segmentSize,
                            org.entityfs.ram.RamFileSystemSizeGuard sg)
Method Detail

getSegmentSize

public int getSegmentSize()

getSizeGuard

public org.entityfs.ram.RamFileSystemSizeGuard getSizeGuard()
Returns:
May return null.

setSizeGuard

public void setSizeGuard(org.entityfs.ram.RamFileSystemSizeGuard sg)
This should only be used for testing.

Parameters:
sg - A new size guard.

isCaseSensitive

public boolean isCaseSensitive()
Description copied from interface: FileSystemAdapter
Is the file system backend case sensitive?

Returns:
true if the file system is case sensitive.