Class: LogStash::Codecs::IdentityMapCodec::CodecValue
- Inherits:
-
Object
- Object
- LogStash::Codecs::IdentityMapCodec::CodecValue
- Defined in:
- lib/logstash/codecs/identity_map_codec.rb
Overview
A composite class to hold both the codec and the eviction_timeout instances of this Value Object are stored in the mapping hash
Instance Attribute Summary collapse
-
#codec ⇒ Object
readonly
Returns the value of attribute codec.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize(codec) ⇒ CodecValue
constructor
A new instance of CodecValue.
Constructor Details
#initialize(codec) ⇒ CodecValue
Returns a new instance of CodecValue.
76 77 78 |
# File 'lib/logstash/codecs/identity_map_codec.rb', line 76 def initialize(codec) @codec = codec end |
Instance Attribute Details
#codec ⇒ Object (readonly)
Returns the value of attribute codec.
73 74 75 |
# File 'lib/logstash/codecs/identity_map_codec.rb', line 73 def codec @codec end |
#timeout ⇒ Object
Returns the value of attribute timeout.
74 75 76 |
# File 'lib/logstash/codecs/identity_map_codec.rb', line 74 def timeout @timeout end |