Module riak_core_pb_bucket

The Bucket PB service for Riak Core.

Behaviours: riak_api_pb_service.

Description

The Bucket PB service for Riak Core. This is included in the Riak API application because of startup-time constraints. This service covers the following request messages in the original protocol:

  19 - RpbGetBucketReq
  21 - RpbSetBucketReq
  29 - RpbResetBucketReq
  

This service produces the following responses:

  20 - RpbGetBucketResp
  22 - RpbSetBucketResp
  30 - RpbResetBucketResp
  

Function Index

decode/2decode/2 callback.
encode/1encode/1 callback.
init/0
process/2
process_stream/3

Function Details

decode/2

decode(Code, Bin) -> any()

decode/2 callback. Decodes an incoming message.

encode/1

encode(Message) -> any()

encode/1 callback. Encodes an outgoing response message.

init/0

init() -> any()

process/2

process(Rpbgetbucketreq, State) -> any()

process_stream/3

process_stream(X1, X2, State) -> any()


Generated by EDoc