/hazelcast/src/main/java/com/hazelcast/monitor/MemberState.java

https://bitbucket.org/gabral6_gmailcom/hazelcast · Java · 52 lines · 20 code · 17 blank · 15 comment · 0 complexity · 62cbfca23c9ba4dd0b013b085b08f7e9 MD5 · raw file

  1. /*
  2. * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.hazelcast.monitor;
  17. import com.hazelcast.nio.Address;
  18. import com.hazelcast.nio.DataSerializable;
  19. import java.util.List;
  20. import java.util.Map;
  21. public interface MemberState extends DataSerializable {
  22. Address getAddress();
  23. MemberHealthStats getMemberHealthStats();
  24. Map<String,Long> getRuntimeProps();
  25. LocalMapStats getLocalMapStats(String mapName);
  26. LocalMapStats getLocalMultiMapStats(String mapName);
  27. LocalExecutorOperationStats getInternalExecutorStats(String name);
  28. LocalExecutorOperationStats getExternalExecutorStats(String name);
  29. LocalQueueStats getLocalQueueStats(String queueName);
  30. LocalTopicStats getLocalTopicStats(String topicName);
  31. List<Integer> getPartitions();
  32. LocalAtomicNumberStats getLocalAtomicNumberStats(String queueName);
  33. LocalCountDownLatchStats getLocalCountDownLatchStats(String queueName);
  34. LocalSemaphoreStats getLocalSemaphoreStats(String queueName);
  35. }