org.elasticsearch.index.gateway.none
Class NoneIndexGateway
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.gateway.none.NoneIndexGateway
- All Implemented Interfaces:
- CloseableIndexComponent, IndexGateway, IndexComponent
public class NoneIndexGateway
- extends AbstractIndexComponent
- implements IndexGateway
NoneIndexGateway
@Inject
public NoneIndexGateway(Index index,
@IndexSettings
Settings indexSettings)
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.