Class: Jp::JobPool::Acquire_result

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/rb/jp/gen-rb/job_pool.rb

Constant Summary collapse

SUCCESS =
0
NSP =
1
EP =
2
FIELDS =
{
  SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => Jp::Job},
  NSP => {:type => ::Thrift::Types::STRUCT, :name => 'nsp', :class => Jp::NoSuchPool},
  EP => {:type => ::Thrift::Types::STRUCT, :name => 'ep', :class => Jp::EmptyPool}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



172
# File 'lib/rb/jp/gen-rb/job_pool.rb', line 172

def struct_fields; FIELDS; end

#validateObject



174
175
# File 'lib/rb/jp/gen-rb/job_pool.rb', line 174

def validate
end