PageRenderTime 31ms CodeModel.GetById 7ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/service/lib/php/packages/fb303/fb303_types.php

#
PHP | 36 lines | 27 code | 4 blank | 5 comment | 0 complexity | 205205ac4e12898f2e529aae90373822 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. <?php
  2. /**
  3. * Autogenerated by Thrift
  4. *
  5. * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  6. */
  7. include_once $GLOBALS['THRIFT_ROOT'].'/Thrift.php';
  8. $GLOBALS['E_fb_status'] = array(
  9. 'DEAD' => 0,
  10. 'STARTING' => 1,
  11. 'ALIVE' => 2,
  12. 'STOPPING' => 3,
  13. 'STOPPED' => 4,
  14. 'WARNING' => 5,
  15. );
  16. final class fb_status {
  17. const DEAD = 0;
  18. const STARTING = 1;
  19. const ALIVE = 2;
  20. const STOPPING = 3;
  21. const STOPPED = 4;
  22. const WARNING = 5;
  23. static public $__names = array(
  24. 0 => 'DEAD',
  25. 1 => 'STARTING',
  26. 2 => 'ALIVE',
  27. 3 => 'STOPPING',
  28. 4 => 'STOPPED',
  29. 5 => 'WARNING',
  30. );
  31. }
  32. ?>