| Anyevent :: Redis :: Ripeeredis Client Redis non bloccante con funzione di riconnessione automatica |
Scarica ora |
Anyevent :: Redis :: Ripeeredis Classifica e riepilogo
- Licenza:
- Perl Artistic License
- Nome editore:
- Eugene Ponizovsky
- Sito web dell'editore:
- http://search.cpan.org/~iph/
Anyevent :: Redis :: Ripeeredis Tag
Anyevent :: Redis :: Ripeeredis Descrizione
Anyevent :: Redis :: RipereDis è un client Redis non bloccante, scritto in Perl, con funzione di riconnessione automatica. Supporta gli abbonamenti, le transazioni, ha una semplice API e è più veloce di ANCHEVENTE :: Redis.synopsis utilizzano eventualmente; Utilizzare AnyEvent :: Redis :: Riperedis; my $ cv = anyvent-> condrar (); My $ Redis = ANCHEVENT :: Redis :: Riperedis-> Nuovo (host => 'localhost', porto => '6379', password => 'your_password', encoding => 'utf8', on_connect => sub {stampa " Connesso \ n ";}, on_error => sub {my $ er err = shift; warn" $ err \ n ";},); # Set Value $ Redis-> Set ('bar', 'qualche stringa', {on_done => sub {My $ Data = shift; Stampa "$ dati \ n"; $ cv-> invia ();}, on_error = > sub {my $ err = shift; avvertire "$ err \ n"; $ cv-> craak ();},}); $ cv-> recv (); homepage del prodotto
Anyevent :: Redis :: Ripeeredis Software correlato