Tabnine Logo
Operation.touch
Code IndexAdd Tabnine to your IDE (free)

How to use
touch
method
in
com.aerospike.client.Operation

Best Java code snippets using com.aerospike.client.Operation.touch (Showing top 3 results out of 315)

origin: com.spikeify/core

/**
 * An atomic operation that rewrite the record. Generation and time-to-live are updated.
 * The provided field value will be converted to the property value, based on the converters defined via the class mapping.
 *
 */
public SingleKeyCommander<T> touch() {
  operations.add(Operation.touch());
  return this;
}
origin: spring-projects/spring-data-aerospike

private Record getAndTouch(Key key, int expiration) {
  WritePolicy writePolicy = new WritePolicy(client.writePolicyDefault);
  writePolicy.expiration = expiration;
  return this.client.operate(writePolicy, key, Operation.touch(), Operation.get());
}
origin: aerospike/aerospike-client-java

Record record = client.operate(writePolicy, key, Operation.touch(), Operation.getHeader());
com.aerospike.clientOperationtouch

Javadoc

Create touch database operation.

Popular methods of Operation

  • add
  • get
  • put
  • append
  • getHeader
    Create read record header database operation.
  • prepend
  • <init>

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now