-
-
20 Oct 2021 09:35:06 UTC
- Distribution: Search-Elasticsearch-Async
- Module version: 7.715
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (266 / 0 / 0)
- Kwalitee
Bus factor: 1- 94.65% Coverage
- License: apache_2_0
- Activity
24 month- Tools
- Download (56.14KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Search::Elasticsearch::Role::Cxn::Async - Provides common functionality to async Cxn implementations
VERSION
version 7.715
DESCRIPTION
Search::Elasticsearch::Role::Cxn::Async provides common functionality to the async Cxn implementations. Cxn instances are created by a Search::Elasticsearch::Role::CxnPool implementation, using the Search::Elasticsearch::Cxn::Factory class.
CONFIGURATION
See Search::Elasticsearch::Role::Cxn for configuration options.
METHODS
None of the methods listed below are useful to the user. They are documented for those who are writing alternative implementations only.
pings_ok()
$promise = $cxn->pings_ok
Try to ping the node and call "mark_live()" or "mark_dead()" depending on the success or failure of the ping.
sniff()
$cxn->sniff ->then( sub { my ($cxn,$nodes) = @_; ... }, sub { my $cxn = shift; ... } )
Send a sniff request to the node and return the response.
AUTHOR
Enrico Zimuel <enrico.zimuel@elastic.co>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2021 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
Module Install Instructions
To install Search::Elasticsearch::Async, copy and paste the appropriate command in to your terminal.
cpanm Search::Elasticsearch::Async
perl -MCPAN -e shell install Search::Elasticsearch::Async
For more information on module installation, please visit the detailed CPAN module installation guide.