org.elasticsearch.index.gateway.none
Class NoneIndexGateway

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.gateway.none.NoneIndexGateway
All Implemented Interfaces:
CloseableIndexComponent, IndexGateway, IndexComponent

public class NoneIndexGateway
extends AbstractIndexComponent
implements IndexGateway


Field Summary
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
NoneIndexGateway(Index index, Settings indexSettings)
           
 
Method Summary
 void close(boolean delete)
          Closes the index component.
 Class<? extends IndexShardGateway> shardGatewayClass()
           
 String toString()
           
 String type()
           
 
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
index, nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 

Constructor Detail

NoneIndexGateway

@Inject
public NoneIndexGateway(Index index,
                               @IndexSettings
                               Settings indexSettings)
Method Detail

type

public String type()
Specified by:
type in interface IndexGateway

shardGatewayClass

public Class<? extends IndexShardGateway> shardGatewayClass()
Specified by:
shardGatewayClass in interface IndexGateway

toString

public String toString()
Overrides:
toString in class Object

close

public void close(boolean delete)
Description copied from interface: CloseableIndexComponent
Closes the index component. A boolean indicating if its part of an actual index deletion or not is passed.

Specified by:
close in interface CloseableIndexComponent
Parameters:
delete - true if the index is being deleted.


Copyright © 2009-2012. All Rights Reserved.