Versions Compared

Key

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

...

Geode supports only few object types as the region Key. The region key will be marked as Key in the request format.

ResponseType

ReponseType will indicate that whether the response is partial or complete. A client can process a partial response.  Response with FullResponse type id will indicate the completion of that request. 

The response format will contain the 2-bytes(int16) for response type. It will be marked as ResponseType ResponseTypeId in the response format.

ResponseTypeResponseTypeId
FullResponse1
PartialResponse2

...

Value => ValueHeader value [ValueHeader value]Description
ValueHeader => defined below 
value => bytesSerialized Value Object which Geode can understand

...

PutRequestResponse

PutRequest --=> RegionName KeyObject Key CallbackArg ValueObjectValue
RegionName --=> String
KeyObject --Key => Serialized bytes of Geode key object type
CallbackArg –-=> Serialized bytes of Geode object type bytes 
PutResponse –-> Success
Success --=> Boolean boolean

 

GetRequestResponse

GetRequest --> RegionName KeyObject Key CallbackArg
RegionName --=> StringKeyObject
--Key => Serialized bytes of Geode key object type
CallbackArg –-=> Serialized bytes of Geode object type
GetResponse --=> Result
Result --=> Serialized bytes of Geode object type

 

GetAllRequestResponse

GetAllRequest --=> RegionName NumberOfKeys KeyObject Key {KeyObjectKey} CallbackArg
RegionName --=> String
NumberOfKeys --=> int
KeyObject --Key => Serialized bytes of Geode key object type
CallbackArg –-=> Serialized bytes of Geode object type
GetAllResponse --> NumberOfResults KeyObject Key Result {KeyObject Key Result}
KeyObject Result --NumberOfResults => int
Key => bytes
Result --=> Serialized bytes of Geode object type

PutAllRequestResponse

PutAllRequest --> RegionName NumberOfKeys KeyObject ValueObject {KeyObject ValueObjectKey Value{Key Value} CallbackArg
RegionName --> String
NumberOfKeys --> int
Key => bytes
value => bytes
CallbackArg –-> Serialized bytes of Geode object type
PutAllResponse –-> Success
Success --> Booleanboolean

MetaData

The purpose of metadata to pass defined key value pair with request and response. 

...