Class: Rdkafka::Admin::DeleteAclHandle
- Inherits:
-
Rdkafka::AbstractHandle
- Object
- FFI::Struct
- Rdkafka::AbstractHandle
- Rdkafka::Admin::DeleteAclHandle
- Defined in:
- lib/rdkafka/admin/delete_acl_handle.rb
Constant Summary
Constants inherited from Rdkafka::AbstractHandle
Rdkafka::AbstractHandle::REGISTRY
Instance Method Summary collapse
-
#create_result ⇒ DeleteAclReport
Instance with an array of matching_acls.
-
#operation_name ⇒ String
The name of the operation.
- #raise_error ⇒ Object
Methods inherited from Rdkafka::AbstractHandle
#initialize, #pending?, register, remove, #unlock, #wait
Methods included from Helpers::Time
Constructor Details
This class inherits a constructor from Rdkafka::AbstractHandle
Instance Method Details
#create_result ⇒ DeleteAclReport
Returns instance with an array of matching_acls.
18 19 20 |
# File 'lib/rdkafka/admin/delete_acl_handle.rb', line 18 def create_result DeleteAclReport.new(matching_acls: self[:matching_acls], matching_acls_count: self[:matching_acls_count]) end |
#operation_name ⇒ String
Returns the name of the operation.
13 14 15 |
# File 'lib/rdkafka/admin/delete_acl_handle.rb', line 13 def operation_name "delete acl" end |
#raise_error ⇒ Object
22 23 24 25 26 27 |
# File 'lib/rdkafka/admin/delete_acl_handle.rb', line 22 def raise_error raise RdkafkaError.new( self[:response], broker_message: self[:response_string].read_string ) end |