Class GetRequest

All Implemented Interfaces:
CouchbaseMessage, CouchbaseRequest, BinaryRequest

public class GetRequest
extends AbstractKeyValueRequest
Fetch a document from the cluster and return it if found.
Since:
1.0
Author:
Michael Nitschinger
  • Constructor Details

    • GetRequest

      public GetRequest​(String key, String bucket)
    • GetRequest

      public GetRequest​(String key, String bucket, boolean lock, boolean touch, int expiry)
  • Method Details

    • lock

      public boolean lock()
    • touch

      public boolean touch()
    • expiry

      public int expiry()