mirror of https://github.com/apache/cassandra
r/m unused code. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809752 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
781dfe4b6b
commit
33ac4dddb0
|
|
@ -35,9 +35,9 @@ import com.reardencommerce.kernel.collections.shared.evictable.ConcurrentLinkedH
|
|||
|
||||
public class SSTableReader extends SSTable
|
||||
{
|
||||
private static Logger logger = Logger.getLogger(SSTableReader.class);
|
||||
private static final Logger logger = Logger.getLogger(SSTableReader.class);
|
||||
|
||||
private static FileSSTableMap openedFiles = new FileSSTableMap();
|
||||
private static final FileSSTableMap openedFiles = new FileSSTableMap();
|
||||
|
||||
public static int indexInterval()
|
||||
{
|
||||
|
|
@ -109,7 +109,7 @@ public class SSTableReader extends SSTable
|
|||
return sstable;
|
||||
}
|
||||
|
||||
public static synchronized SSTableReader get(String dataFileName) throws IOException
|
||||
public static synchronized SSTableReader get(String dataFileName)
|
||||
{
|
||||
SSTableReader sstable = openedFiles.get(dataFileName);
|
||||
assert sstable != null;
|
||||
|
|
@ -335,14 +335,6 @@ public class SSTableReader extends SSTable
|
|||
{
|
||||
return ColumnFamily.create(getTableName(), getColumnFamilyName());
|
||||
}
|
||||
|
||||
public static void deleteAll() throws IOException
|
||||
{
|
||||
for (SSTableReader sstable : openedFiles.values())
|
||||
{
|
||||
sstable.delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class FileSSTableMap
|
||||
|
|
|
|||
Loading…
Reference in New Issue