Send feedback
Class CloudMemcacheGrpc.CloudMemcacheFutureStub (2.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.22.0 keyboard_arrow_down
public static final class CloudMemcacheGrpc . CloudMemcacheFutureStub extends AbstractFutureStub<CloudMemcacheGrpc . CloudMemcacheFutureStub >
A stub to allow clients to do ListenableFuture-style rpc calls to service CloudMemcache.
Configures and manages Cloud Memorystore for Memcached instances.
The memcache.googleapis.com
service implements the Google Cloud Memorystore
for Memcached API and defines the following resource model for managing
Memorystore Memcached (also called Memcached below) instances:
The service works with a collection of cloud projects, named: /projects/*
Each project has a collection of available locations, named: /locations/*
Each location has a collection of Memcached instances, named:
/instances/*
As such, Memcached instances are resources of the form:
/projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note that location_id must be a GCP region
; for example:
projects/my-memcached-project/locations/us-central1/instances/my-memcached
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
CloudMemcacheGrpc.CloudMemcacheFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
applyParameters(ApplyParametersRequest request)
public ListenableFuture<Operation> applyParameters ( ApplyParametersRequest request )
ApplyParameters
restarts the set of specified nodes in order to update
them to the current set of parameters for the Memcached Instance.
Returns Type Description com.google.common.util.concurrent.ListenableFuture <Operation >
applySoftwareUpdate(ApplySoftwareUpdateRequest request)
public ListenableFuture<Operation> applySoftwareUpdate ( ApplySoftwareUpdateRequest request )
Updates software on the selected nodes of the Instance.
Returns Type Description com.google.common.util.concurrent.ListenableFuture <Operation >
build(Channel channel, CallOptions callOptions)
protected CloudMemcacheGrpc . CloudMemcacheFutureStub build ( Channel channel , CallOptions callOptions )
Parameters Name Description channel
io.grpc.Channel
callOptions
io.grpc.CallOptions
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createInstance(CreateInstanceRequest request)
public ListenableFuture<Operation> createInstance ( CreateInstanceRequest request )
Creates a new Instance in a given location.
Returns Type Description com.google.common.util.concurrent.ListenableFuture <Operation >
deleteInstance(DeleteInstanceRequest request)
public ListenableFuture<Operation> deleteInstance ( DeleteInstanceRequest request )
Deletes a single Instance.
Returns Type Description com.google.common.util.concurrent.ListenableFuture <Operation >
getInstance(GetInstanceRequest request)
public ListenableFuture<Instance> getInstance ( GetInstanceRequest request )
Gets details of a single Instance.
Returns Type Description com.google.common.util.concurrent.ListenableFuture <Instance >
listInstances(ListInstancesRequest request)
public ListenableFuture<ListInstancesResponse> listInstances ( ListInstancesRequest request )
Lists Instances in a given location.
rescheduleMaintenance(RescheduleMaintenanceRequest request)
public ListenableFuture<Operation> rescheduleMaintenance ( RescheduleMaintenanceRequest request )
Performs the apply phase of the RescheduleMaintenance verb.
Returns Type Description com.google.common.util.concurrent.ListenableFuture <Operation >
updateInstance(UpdateInstanceRequest request)
public ListenableFuture<Operation> updateInstance ( UpdateInstanceRequest request )
Updates an existing Instance in a given project and location.
Returns Type Description com.google.common.util.concurrent.ListenableFuture <Operation >
updateParameters(UpdateParametersRequest request)
public ListenableFuture<Operation> updateParameters ( UpdateParametersRequest request )
Updates the defined Memcached parameters for an existing instance.
This method only stages the parameters, it must be followed by
ApplyParameters
to apply the parameters to nodes of the Memcached
instance.
Returns Type Description com.google.common.util.concurrent.ListenableFuture <Operation >
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]