*** empty log message ***
[IRC.git] / Robust / Transactions / mytuplesoup / src / com / solidosystems / tuplesoup / core / TableIndexTransactional.java
1 /*
2  * To change this template, choose Tools | Templates
3  * and open the template in the editor.
4  */
5
6 package com.solidosystems.tuplesoup.core;
7
8 import dstm2.AtomicSuperClass;
9 import java.util.*;
10 import java.io.*;
11
12 public interface TableIndexTransactional extends AtomicSuperClass{
13     public Hashtable<String,Long> readStatistics();
14     public void updateEntry(String id,int rowsize,int location,long position) throws IOException;
15     public void updateEntryTransactional(String id,int rowsize,int location,long position) throws IOException;
16     public void addEntry(String id,int rowsize,int location,long position) throws IOException;
17     public TableIndexEntryTransactional scanIndex(String id) throws IOException;
18     public TableIndexEntryTransactional scanIndexTransactional(String id) throws IOException;
19     public List<TableIndexEntryTransactional> scanIndex(List<String> rows) throws IOException;
20     public List<TableIndexEntryTransactional> scanIndex() throws IOException;
21     public void close();
22 }