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, AdaptingAggregator, AdjacencyMatrixAggregator, AggregationContext, AggregationContext.ProductionAggregationContext, 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, FiltersAggregator.FilterByFilter, FreqTermsEnum, FsHealthService, FsRepository, GatewayService, GeoGridAggregator, GeoHashGridAggregator, GeoTileGridAggregator, GlobalAggregator, GlobalOrdCardinalityAggregator, 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, MinAggregator, MissingAggregator, MonitorService, MultiFileWriter, NestedAggregator, NodeClient, NodeConnectionsService, NodeEnvironment.NodeLock, NonCollectingAggregator, NoneCircuitBreakerService, NoneRecycler.NV, NumericHistogramAggregator, NumericMetricsAggregator, NumericMetricsAggregator.MultiValue, NumericMetricsAggregator.SingleValue, NumericTermsAggregator, OriginSettingClient, PagedBytesLeafFieldData, ParentTaskAssigningClient, PeerRecoverySourceService, PendingReplicationActions, PreallocatedCircuitBreakerService, 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, TimestampFieldMapperService, 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
    void close()  
  • Method Details

    • close

      void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable