Package com.arjuna.ats.internal.arjuna.objectstore.LogInstance

Examples of com.arjuna.ats.internal.arjuna.objectstore.LogInstance.TransactionData


      RandomAccessFile ofile = null;
      java.nio.channels.FileLock lock = null;

      if (imageSize > 0)
      {
        TransactionData theLogEntry = getLogName(objUid, tName, buffSize);    // always adds entry to log
        LogInstance theLog = theLogEntry.container;
     
        if (theLog == null)
          throw new ObjectStoreException();
View Full Code Here


     * the state there any longer. Conversely it's possible that it could do
     * a read on a state that is about to be deleted. Recovery should be
     * able to cope with these edge cases.
     */
   
    TransactionData td = getLogName(u, tn, -1);
   
    if (td == null)
      throw new ObjectStoreException();
   
    ArrayList<InputObjectState> states = scanLog(td.container.getName(), tn);
View Full Code Here

    return _ids.containsKey(id);
  }
 
  public final TransactionData getTxId (Uid txId)
  {
    return new TransactionData(txId, _used, this);
  }
View Full Code Here

    return new TransactionData(txId, _used, this);
  }
 
  public final TransactionData addTxId (Uid txId, long size)
  {
    TransactionData td = new TransactionData(txId, _used, this);
   
    _transactions.add(td)// allow multiple entries in the same log
    _ids.put(txId, txId);
    _used += size;
   
View Full Code Here

    return _ids.containsKey(id);
  }

  public final TransactionData getTxId (Uid txId)
  {
    return new TransactionData(txId, _used, this);
  }
View Full Code Here

    return new TransactionData(txId, _used, this);
  }

  public final TransactionData addTxId (Uid txId, long size)
  {
    TransactionData td = new TransactionData(txId, _used, this);

    _transactions.add(td)// allow multiple entries in the same log
    _ids.put(txId, txId);
    _used += size;
View Full Code Here

      RandomAccessFile ofile = null;
      java.nio.channels.FileLock lock = null;

      if (imageSize > 0)
      {
        TransactionData theLogEntry = getLogName(objUid, tName, buffSize);    // always adds entry to log
        LogInstance theLog = theLogEntry.container;

        if (theLog == null)
          throw new ObjectStoreException();
View Full Code Here

     * the state there any longer. Conversely it's possible that it could do
     * a read on a state that is about to be deleted. Recovery should be
     * able to cope with these edge cases.
     */

    TransactionData td = getLogName(u, tn, -1);

    if (td == null)
      throw new ObjectStoreException();

    ArrayList<InputObjectState> states = scanLog(td.container.getName(), tn);
View Full Code Here

TOP

Related Classes of com.arjuna.ats.internal.arjuna.objectstore.LogInstance.TransactionData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.