View Javadoc
1   /*
2    *    Copyright 2016-2022 the original author or authors.
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    *       https://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 org.mybatis.caches.couchbase;
17  
18  import java.util.concurrent.locks.ReadWriteLock;
19  
20  import org.apache.ibatis.cache.Cache;
21  
22  /**
23   * Cache adapter for Couchbase.
24   *
25   * @author EddĂș MelĂ©ndez
26   */
27  public final class CouchbaseCache implements Cache {
28  
29    @Override
30    public String getId() {
31      // TODO Auto-generated method stub
32      return null;
33    }
34  
35    @Override
36    public void putObject(Object key, Object value) {
37      // TODO Auto-generated method stub
38    }
39  
40    @Override
41    public Object getObject(Object key) {
42      // TODO Auto-generated method stub
43      return null;
44    }
45  
46    @Override
47    public Object removeObject(Object key) {
48      // TODO Auto-generated method stub
49      return null;
50    }
51  
52    @Override
53    public void clear() {
54      // TODO Auto-generated method stub
55    }
56  
57    @Override
58    public int getSize() {
59      // TODO Auto-generated method stub
60      return 0;
61    }
62  
63    @Override
64    public ReadWriteLock getReadWriteLock() {
65      // TODO Auto-generated method stub
66      return null;
67    }
68  
69  }