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,MapStringTermsAggregator.CollectorSource,ObjectArray<T>,Recycler.V<T>,Repository,Transport,ZenPing
- All Known Implementing Classes:
AbstractClient,AbstractHistogramAggregator,AbstractHttpServerTransport,AbstractHyperLogLogPlusPlus,AbstractLeafGeoPointFieldData,AbstractLeafOrdinalsFieldData,AbstractLifecycleComponent,AbstractRareTermsAggregator,AdjacencyMatrixAggregator,Aggregator,AggregatorBase,AsyncShardFetch,BestDocsDeferringCollector,BinaryDVLeafFieldData,BinaryRangeAggregator,BitArray,BlobStoreRepository,BucketedSort,BucketedSort.ForDoubles,BucketedSort.ForFloats,BucketedSort.ForLongs,BucketsAggregator,BytesKeyedBucketOrds,BytesRefHash,CardinalityAggregator,CircuitBreakerService,ClusterApplierService,ClusterService,ContextIndexSearcher,Coordinator,DeferableBucketAggregator,DeferringBucketCollector.WrappedAggregator,DelayedAllocationService,DiversifiedBytesHashSamplerAggregator,DiversifiedMapSamplerAggregator,DiversifiedNumericSamplerAggregator,DiversifiedOrdinalsSamplerAggregator,Engine.GetResult,Engine.Searcher,Engine.SearcherSupplier,FilterAggregator,FilterClient,FilteredSearchContext,FilterRepository,FiltersAggregator,FreqTermsEnum,FsHealthService,FsRepository,GatewayService,GeoGridAggregator,GeoHashGridAggregator,GeoTileGridAggregator,GlobalAggregator,GlobalOrdinalsStringTermsAggregator,HierarchyCircuitBreakerService,HyperLogLogPlusPlus,InboundAggregator,InboundDecoder,InboundMessage,InboundPipeline,IndicesClusterStateService,IndicesFieldDataCache,IndicesService,InnerHitsContext.InnerHitSubContext,JvmGcMonitorService,LeafDoubleFieldData,LeafLongFieldData,LegacyReaderContext,LongHash,LongKeyedBucketOrds,LongKeyedBucketOrds.FromMany,LongKeyedBucketOrds.FromSingle,LongLongHash,LongObjectPagedHashMap,LongRareTermsAggregator,MapStringTermsAggregator,MapStringTermsAggregator.ValuesSourceCollectorSource,MasterService,MedianAbsoluteDeviationAggregator,MeteredBlobStoreRepository,MetricsAggregator,MissingAggregator,MonitorService,MultiFileWriter,NestedAggregator,NodeClient,NodeConnectionsService,NodeEnvironment.NodeLock,NonCollectingAggregator,NoneCircuitBreakerService,NoneRecycler.NV,NumericHistogramAggregator,NumericMetricsAggregator,NumericMetricsAggregator.MultiValue,NumericMetricsAggregator.SingleValue,NumericTermsAggregator,OriginSettingClient,PagedBytesLeafFieldData,ParentTaskAssigningClient,PeerRecoverySourceService,PendingReplicationActions,ProfilingAggregator,QueryPhaseResultConsumer,RangeAggregator,RangeAggregator.Unmapped,RangeHistogramAggregator,ReaderContext,ReleasableBytesReference,ReleasableBytesStreamOutput,ReleasableLock,RepositoriesService,RestCancellableNodeClient,ReverseNestedAggregator,SamplerAggregator,SearchContext,SearchService,SeedHostsResolver,SnapshotShardsService,SnapshotsService,SortedNumericIndexFieldData.NanoSecondFieldData,SortedSetBytesLeafFieldData,StringRareTermsAggregator,SubSearchContext,SumAggregator,TcpTransport,TermsAggregator,TransportClient,TransportService,UnicastZenPing,UnicastZenPing.PingingRound,ValueCountAggregator,VariableWidthHistogramAggregator,ZenDiscovery
public interface Releasable
extends java.io.Closeable
Specialization of
AutoCloseable that may only throw an ElasticsearchException.-
Method Summary
Modifier and Type Method Description voidclose()
-
Method Details
-
close
void close()- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-