|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.manager.indexserver.AbstractIndexServer
org.apache.blur.manager.indexserver.LocalIndexServer
public class LocalIndexServer
Constructor Summary | |
---|---|
LocalIndexServer(TableDescriptor tableDescriptor)
|
|
LocalIndexServer(TableDescriptor tableDescriptor,
boolean ramDir)
|
Method Summary | |
---|---|
void |
close()
Closes the index server. |
Map<String,BlurIndex> |
getIndexes(String table)
Gets a map of the index readers for current running node. |
String |
getNodeName()
Gets the current nodes name. |
List<String> |
getShardList(String table)
The shard list for a given table. |
SortedSet<String> |
getShardListCurrentServerOnly(String table)
Gets a sorted list of shards being served by this server. |
Map<String,ShardState> |
getShardState(String table)
Get the shard state. |
long |
getTableSize(String table)
Gets the current on disk table size. |
Methods inherited from class org.apache.blur.manager.indexserver.AbstractIndexServer |
---|
getRecordCount, getRowCount |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalIndexServer(TableDescriptor tableDescriptor) throws IOException
IOException
public LocalIndexServer(TableDescriptor tableDescriptor, boolean ramDir) throws IOException
IOException
Method Detail |
---|
public void close()
IndexServer
public SortedSet<String> getShardListCurrentServerOnly(String table) throws IOException
IndexServer
table
- the table name
IOException
public Map<String,BlurIndex> getIndexes(String table) throws IOException
IndexServer
table
- the table name.
IOException
public List<String> getShardList(String table)
IndexServer
table
- the table name.
public String getNodeName()
IndexServer
public long getTableSize(String table) throws IOException
IndexServer
table
- the name of the table.
IOException
public Map<String,ShardState> getShardState(String table)
IndexServer
table
- the table name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |