32
|
1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.persistent;
|
|
2
|
55
|
3 import java.nio.ByteBuffer;
|
32
|
4
|
81
|
5
|
56
|
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.TreeOperation;
|
|
7
|
55
|
8 public class DefaultChangeListWriter implements ChangeListWriter
|
|
9 {
|
104
|
10 public DefaultChangeListWriter(ByteBuffer buf)
|
55
|
11 {
|
|
12
|
|
13 }
|
|
14
|
|
15 @Override
|
104
|
16 public synchronized Result write(ChangeList operations)
|
55
|
17 {
|
104
|
18 for(TreeOperation op : operations){
|
56
|
19 ByteBuffer treeOpBuf = serializeTreeOperation(op);
|
|
20 }
|
|
21 return null;
|
|
22 }
|
|
23
|
|
24 private ByteBuffer serializeTreeOperation(TreeOperation op)
|
|
25 {
|
|
26
|
55
|
27 return null;
|
|
28 }
|
32
|
29 }
|