org.elasticsearch.index.gateway.fs
Class FsIndexShardGateway

java.lang.Object
  extended by org.elasticsearch.index.shard.AbstractIndexShardComponent
      extended by org.elasticsearch.index.gateway.blobstore.BlobStoreIndexShardGateway
          extended by org.elasticsearch.index.gateway.fs.FsIndexShardGateway
All Implemented Interfaces:
CloseableIndexComponent, IndexShardGateway, IndexShardComponent

public class FsIndexShardGateway
extends BlobStoreIndexShardGateway


Nested Class Summary
 class FsIndexShardGateway.FsSnapshotLock
           
 
Nested classes/interfaces inherited from interface org.elasticsearch.index.gateway.IndexShardGateway
IndexShardGateway.Snapshot, IndexShardGateway.SnapshotLock
 
Field Summary
 
Fields inherited from class org.elasticsearch.index.gateway.blobstore.BlobStoreIndexShardGateway
blobContainer, blobStore, chunkSize, indexShard, shardPath, store, threadPool
 
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
componentSettings, indexSettings, logger, shardId
 
Fields inherited from interface org.elasticsearch.index.gateway.IndexShardGateway
NO_SNAPSHOT_LOCK
 
Constructor Summary
FsIndexShardGateway(ShardId shardId, Settings indexSettings, ThreadPool threadPool, IndexGateway fsIndexGateway, IndexShard indexShard, Store store)
           
 
Method Summary
 IndexShardGateway.SnapshotLock obtainSnapshotLock()
           
 String type()
           
 
Methods inherited from class org.elasticsearch.index.gateway.blobstore.BlobStoreIndexShardGateway
close, currentSnapshotStatus, lastSnapshotStatus, recover, recoveryStatus, requiresSnapshot, requiresSnapshotScheduling, snapshot, toString
 
Methods inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
indexSettings, managementGroupName, nodeName, shardId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.index.shard.IndexShardComponent
indexSettings, shardId
 

Constructor Detail

FsIndexShardGateway

@Inject
public FsIndexShardGateway(ShardId shardId,
                                  @IndexSettings
                                  Settings indexSettings,
                                  ThreadPool threadPool,
                                  IndexGateway fsIndexGateway,
                                  IndexShard indexShard,
                                  Store store)
Method Detail

type

public String type()

obtainSnapshotLock

public IndexShardGateway.SnapshotLock obtainSnapshotLock()
                                                  throws Exception
Specified by:
obtainSnapshotLock in interface IndexShardGateway
Overrides:
obtainSnapshotLock in class BlobStoreIndexShardGateway
Throws:
Exception


Copyright © 2009-2012. All Rights Reserved.