/hazelcast/src/main/java/com/hazelcast/impl/MProxy.java

https://bitbucket.org/gabral6_gmailcom/hazelcast · Java · 50 lines · 19 code · 16 blank · 15 comment · 0 complexity · 6e16ffba036a2f64999f3b5a537b7011 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.impl;
  17. import com.hazelcast.core.IMap;
  18. import com.hazelcast.impl.monitor.MapOperationsCounter;
  19. import java.util.Set;
  20. public interface MProxy extends IMap, IRemoveAwareProxy, IGetAwareProxy, HazelcastInstanceAwareInstance {
  21. String getLongName();
  22. void addGenericListener(Object listener, Object key, boolean includeValue, InstanceType instanceType);
  23. void removeGenericListener(Object listener, Object key);
  24. boolean containsEntry(Object key, Object value);
  25. boolean putFromLoad(Object key, Object value);
  26. boolean putMulti(Object key, Object value);
  27. boolean removeMulti(Object key, Object value);
  28. boolean add(Object value);
  29. int valueCount(Object key);
  30. Set allKeys();
  31. MapOperationsCounter getMapOperationCounter();
  32. void putForSync(Object key, Object value);
  33. void removeForSync(Object key);
  34. }