org.jboss.messaging.core.journal.impl
Class AIOSequentialFileFactory

java.lang.Object
  extended by org.jboss.messaging.core.journal.impl.AbstractSequentialFactory
      extended by org.jboss.messaging.core.journal.impl.AIOSequentialFileFactory
All Implemented Interfaces:
SequentialFileFactory

public class AIOSequentialFileFactory
extends AbstractSequentialFactory

A AIOSequentialFileFactory

Author:
clebert.suconic@jboss.com

Field Summary
 
Fields inherited from class org.jboss.messaging.core.journal.impl.AbstractSequentialFactory
journalDir
 
Constructor Summary
AIOSequentialFileFactory(java.lang.String journalDir)
           
 
Method Summary
 SequentialFile createSequentialFile(java.lang.String fileName, int maxIO, long timeout)
           
static boolean isSupported()
           
 boolean isSupportsCallbacks()
           
 java.nio.ByteBuffer newBuffer(int size)
           
 java.nio.ByteBuffer wrapBuffer(byte[] bytes)
           
 
Methods inherited from class org.jboss.messaging.core.journal.impl.AbstractSequentialFactory
listFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AIOSequentialFileFactory

public AIOSequentialFileFactory(java.lang.String journalDir)
Method Detail

createSequentialFile

public SequentialFile createSequentialFile(java.lang.String fileName,
                                           int maxIO,
                                           long timeout)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

isSupportsCallbacks

public boolean isSupportsCallbacks()

isSupported

public static boolean isSupported()

newBuffer

public java.nio.ByteBuffer newBuffer(int size)

wrapBuffer

public java.nio.ByteBuffer wrapBuffer(byte[] bytes)


Copyright © 2006 JBoss Inc. All Rights Reserved.