public void insert ( String namespace , String set , Key key , List < Bin > bins , int ttl ) { this . client . put ( this . insertPolicy , key , bins . toArray ( new Bin [ 0 ] ) ) ; }
inserts a record with a time to live . If the record exists and exception will be thrown .