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, CardinalityAggregator, 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, InboundAggregator, InboundDecoder, InboundMessage, InboundPipeline, 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, NumericHistogramAggregator, NumericMetricsAggregator, NumericMetricsAggregator.MultiValue, NumericMetricsAggregator.SingleValue, OriginSettingClient, PagedBytesLeafFieldData, ParentTaskAssigningClient, PeerRecoverySourceService, ProfilingAggregator, RangeAggregator, RangeAggregator.Unmapped, RangeHistogramAggregator, ReleasableBytesReference, ReleasableBytesStreamOutput, ReleasableLock, RepositoriesService, RestCancellableNodeClient, ReverseNestedAggregator, SamplerAggregator, SearchContext, SearchService, SeedHostsResolver, SignificantLongTermsAggregator, SignificantStringTermsAggregator, SignificantTermsAggregatorFactory, SignificantTextAggregator, SignificantTextAggregatorFactory, SnapshotShardsService, SnapshotsService, SortedNumericDVIndexFieldData.NanoSecondFieldData, SortedSetDVBytesLeafFieldData, StringRareTermsAggregator, StringTermsAggregator, SubSearchContext, SumAggregator, TcpTransport, TermsAggregator, TransportClient, TransportService, UnicastZenPing, UnicastZenPing.PingingRound, ValueCountAggregator, 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