org.apache.blur.manager.indexserver
Class ShardStateManager

java.lang.Object
  extended by org.apache.blur.manager.indexserver.ShardStateManager
All Implemented Interfaces:
Closeable

public class ShardStateManager
extends Object
implements Closeable

This class holds the current state of any given shard within the shard server.


Constructor Summary
ShardStateManager()
           
 
Method Summary
 void close()
           
 void closed(String table, String shard)
           
 void closing(String table, String shard)
           
 void closingError(String table, String shard)
           
 Map<String,ShardState> getShardState(String table)
           
 void open(String table, String shard)
           
 void opening(String table, String shard)
           
 void openingError(String table, String shard)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardStateManager

public ShardStateManager()
Method Detail

opening

public void opening(String table,
                    String shard)

open

public void open(String table,
                 String shard)

openingError

public void openingError(String table,
                         String shard)

closing

public void closing(String table,
                    String shard)

closed

public void closed(String table,
                   String shard)

closingError

public void closingError(String table,
                         String shard)

getShardState

public Map<String,ShardState> getShardState(String table)

close

public void close()
Specified by:
close in interface Closeable


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.