PageRenderTime 24ms CodeModel.GetById 14ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/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
17package com.hazelcast.impl;
18
19import com.hazelcast.core.IMap;
20import com.hazelcast.impl.monitor.MapOperationsCounter;
21
22import java.util.Set;
23
24public interface MProxy extends IMap, IRemoveAwareProxy, IGetAwareProxy, HazelcastInstanceAwareInstance {
25    String getLongName();
26
27    void addGenericListener(Object listener, Object key, boolean includeValue, InstanceType instanceType);
28
29    void removeGenericListener(Object listener, Object key);
30
31    boolean containsEntry(Object key, Object value);
32
33    boolean putFromLoad(Object key, Object value);
34
35    boolean putMulti(Object key, Object value);
36
37    boolean removeMulti(Object key, Object value);
38
39    boolean add(Object value);
40
41    int valueCount(Object key);
42
43    Set allKeys();
44
45    MapOperationsCounter getMapOperationCounter();
46
47    void putForSync(Object key, Object value);
48
49    void removeForSync(Object key);
50}