Kouhei Sutou
null+****@clear*****
Tue Dec 24 16:45:33 JST 2013
Kouhei Sutou 2013-12-24 16:45:33 +0900 (Tue, 24 Dec 2013) New Revision: 12c8d92616ea60c5cfda7df32b626a523b23878b https://github.com/droonga/fluent-plugin-droonga/commit/12c8d92616ea60c5cfda7df32b626a523b23878b Message: Hide internal methods Modified files: lib/droonga/dispatcher.rb Modified: lib/droonga/dispatcher.rb (+5 -5) =================================================================== --- lib/droonga/dispatcher.rb 2013-12-24 16:43:41 +0900 (89f3b5b) +++ lib/droonga/dispatcher.rb 2013-12-24 16:45:33 +0900 (75c685f) @@ -155,6 +155,11 @@ module Droonga @farm.process(partition_name, farm_message) end + def local?(route) + route =~ @local + end + + private def generate_id id = @current_id @current_id = id.succ @@ -169,11 +174,6 @@ module Droonga end end - def local?(route) - route =~ @local - end - - private def process_input_message(message) adapted_message = @input_adapter.adapt(message) @distributor.process(adapted_message["type"], adapted_message) -------------- next part -------------- HTML����������������������������...Download