Skip to content

Instantly share code, notes, and snippets.

View etiennecarriere's full-sized avatar

etiennecarriere

View GitHub Profile
@etiennecarriere
etiennecarriere / DNSPromise.java
Created August 22, 2017 05:53
Usage of Listener on DNSResolver
import java.net.InetSocketAddress;
import io.netty.channel.AddressedEnvelope;
import io.netty.handler.codec.dns.DnsRecord;
import io.netty.handler.codec.dns.DnsResponse;
import io.netty.handler.codec.dns.DnsSection;
import io.netty.util.concurrent.DefaultPromise;
import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener;
[2017-06-29T10:05:30,591][DEBUG][o.e.c.a.s.AzureStorageServiceImpl] [es1-main] listing container [elasticsearch-snapshots], keyPath [], prefix [index-]
[2017-06-29T10:08:17,003][DEBUG][o.e.c.a.s.AzureStorageServiceImpl] [es1-main] listing container [elasticsearch-snapshots], keyPath [], prefix [index-]
[2017-06-29T10:10:20,363][DEBUG][o.e.c.a.s.AzureStorageServiceImpl] [es1-main] listing container [elasticsearch-snapshots], keyPath [], prefix [index-]
[2017-06-29T10:10:20,908][DEBUG][o.e.c.s.ClusterService ] [es1-main] processing [delete snapshot]: execute
[2017-06-29T10:10:20,908][DEBUG][o.e.c.s.ClusterService ] [es1-main] cluster state updated, version [198443], source [delete snapshot]
[2017-06-29T10:10:20,909][DEBUG][o.e.c.s.ClusterService ] [es1-main] publishing cluster state version [198443]
[2017-06-29T10:10:20,923][DEBUG][o.e.c.s.ClusterService ] [es1-main] applying cluster state version 198443
[2017-06-29T10:10:20,923][DEBUG][o.e.c.s.ClusterService ] [es1-main] set local cluster state to ve