Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Error CodeError DefinitionError Description
 REGION_NOT_FOUNDNo region with the provided regionName exists.


PutAll

Description

 

Put a collection of Entries into a region.

 

Request

...

 

PutAllRequest
Field NameData typeDescriptionMandatory?Repeated?
regionName

...

String

...

The name of the region to put entries into.YN
entries

...

Entry

...

A list of entries to

...

add to the region.

...

Y


Response

 

PutAllResponse
Field NameData typeDescriptionMandatory?Repeated
failedKeys

...

KeyedErrorResponse

...

A list of keys

...

that were not added.NY

 


Expected behavior 

 

Behavior notes

...

  • If a PutAllResponse is returned with a list of failedKeys, any keys from the request not present in the

...

  • response were successfully

...

  • added/updated.

...

If two Entries share equal keys, a successful operation will result in one of the Entries being present in the region. Which one is undefined.

  • Any keys present in failedKeys will have their entry remain in the same state they were in prior to this operation.

  • If an error response is returned by this operation (instead of a RemoveAllResponse), all entries remain in the same state as prior to this operation.

 

Errors

 

Error CodeError DefinitionError Description
 

...

REGION_NOT_FOUND

...

No region with the provided regionName exists

...

.


GetAll

Description

 Get a series of values from a region.

...