Interface Releasable

All Superinterfaces:
java.lang.AutoCloseable, java.io.Closeable
All Known Subinterfaces:
AtomicFieldData, AtomicGeoPointFieldData, AtomicHistogramFieldData, AtomicNumericFieldData, AtomicOrdinalsFieldData, BigArray, ByteArray, Client, Discovery, DoubleArray, FloatArray, HttpServerTransport, IntArray, LifecycleComponent, LongArray, ObjectArray<T>, Recycler.V<T>, Repository, Transport, ZenPing
All Known Implementing Classes:
AbstractAtomicGeoPointFieldData, AbstractAtomicOrdinalsFieldData, AbstractClient, AbstractHttpServerTransport, AbstractLifecycleComponent, AbstractRareTermsAggregator, AdjacencyMatrixAggregator, Aggregator, AggregatorBase, AggregatorFactory.MultiBucketAggregatorWrapper, AsyncShardFetch, BestDocsDeferringCollector, BinaryDVAtomicFieldData, BinaryRangeAggregator, BitArray, BlobStoreRepository, 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, PagedBytesAtomicFieldData, ParentTaskAssigningClient, PeerRecoverySourceService, ProfilingAggregator, RangeAggregator, RangeAggregator.Unmapped, RangeHistogramAggregator, ReleasableBytesReference, ReleasableBytesStreamOutput, ReleasableLock, RepositoriesService, ResourceWatcherService, ReverseNestedAggregator, SamplerAggregator, SearchContext, SearchService, SeedHostsResolver, SignificantLongTermsAggregator, SignificantStringTermsAggregator, SignificantTermsAggregatorFactory, SignificantTextAggregator, SignificantTextAggregatorFactory, SnapshotShardsService, SnapshotsService, SortedNumericDVIndexFieldData.NanoSecondFieldData, SortedSetDVBytesAtomicFieldData, 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 interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable