Package org.elasticsearch.common.lease
Interface Releasable
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Subinterfaces:
BigArray
,ByteArray
,Client
,Discovery
,DoubleArray
,FloatArray
,HttpServerTransport
,IntArray
,LeafFieldData
,LeafGeoPointFieldData
,LeafHistogramFieldData
,LeafNumericFieldData
,LeafOrdinalsFieldData
,LifecycleComponent
,LongArray
,ObjectArray<T>
,Recycler.V<T>
,Repository
,Transport
,ZenPing
- All Known Implementing Classes:
AbstractClient
,AbstractHttpServerTransport
,AbstractLeafGeoPointFieldData
,AbstractLeafOrdinalsFieldData
,AbstractLifecycleComponent
,AbstractRareTermsAggregator
,AdjacencyMatrixAggregator
,Aggregator
,AggregatorBase
,AggregatorFactory.MultiBucketAggregatorWrapper
,AsyncShardFetch
,BestDocsDeferringCollector
,BinaryDVLeafFieldData
,BinaryRangeAggregator
,BitArray
,BlobStoreRepository
,BucketedSort
,BucketedSort.ForDoubles
,BucketedSort.ForFloats
,BucketedSort.ForLongs
,BucketsAggregator
,BytesRefHash
,CircuitBreakerService
,ClusterApplierService
,ClusterService
,Coordinator
,DeferableBucketAggregator
,DeferringBucketCollector.WrappedAggregator
,DelayedAllocationService
,DiversifiedBytesHashSamplerAggregator
,DiversifiedMapSamplerAggregator
,DiversifiedNumericSamplerAggregator
,DiversifiedOrdinalsSamplerAggregator
,DoubleTermsAggregator
,Engine.GetResult
,Engine.Searcher
,FilterAggregator
,FilterClient
,FilteredSearchContext
,FilterRepository
,FiltersAggregator
,FreqTermsEnum
,FsRepository
,GatewayService
,GeoGridAggregator
,GeoHashGridAggregator
,GeoTileGridAggregator
,GlobalAggregator
,GlobalOrdinalsSignificantTermsAggregator
,GlobalOrdinalsStringTermsAggregator
,HierarchyCircuitBreakerService
,HyperLogLogPlusPlus
,IndicesClusterStateService
,IndicesFieldDataCache
,IndicesService
,InnerHitsContext.InnerHitSubContext
,JvmGcMonitorService
,LongHash
,LongObjectPagedHashMap
,LongRareTermsAggregator
,LongTermsAggregator
,MasterService
,MedianAbsoluteDeviationAggregator
,MetricsAggregator
,MissingAggregator
,MonitorService
,MultiFileWriter
,NestedAggregator
,NodeClient
,NodeConnectionsService
,NodeEnvironment.NodeLock
,NonCollectingAggregator
,NoneCircuitBreakerService
,NoneRecycler.NV
,NumericMetricsAggregator
,NumericMetricsAggregator.MultiValue
,NumericMetricsAggregator.SingleValue
,OriginSettingClient
,PagedBytesLeafFieldData
,ParentTaskAssigningClient
,PeerRecoverySourceService
,ProfilingAggregator
,RangeAggregator
,RangeAggregator.Unmapped
,RangeHistogramAggregator
,ReleasableBytesReference
,ReleasableBytesStreamOutput
,ReleasableLock
,RepositoriesService
,ResourceWatcherService
,RestCancellableNodeClient
,ReverseNestedAggregator
,SamplerAggregator
,SearchContext
,SearchService
,SeedHostsResolver
,SignificantLongTermsAggregator
,SignificantStringTermsAggregator
,SignificantTermsAggregatorFactory
,SignificantTextAggregator
,SignificantTextAggregatorFactory
,SnapshotShardsService
,SnapshotsService
,SortedNumericDVIndexFieldData.NanoSecondFieldData
,SortedSetDVBytesLeafFieldData
,StringRareTermsAggregator
,StringTermsAggregator
,SubSearchContext
,TcpTransport
,TermsAggregator
,TransportClient
,TransportService
,UnicastZenPing
,UnicastZenPing.PingingRound
,ZenDiscovery
public interface Releasable
extends java.io.Closeable
Specialization of
AutoCloseable
that may only throw an ElasticsearchException
.-
Method Summary
Modifier and Type Method Description void
close()
-
Method Details
-
close
void close()- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-