comparison src/alice/datasegment/LocalDataSegmentManager.java @ 215:1fd7067f0044 working

remove conversion flag
author one
date Wed, 27 Mar 2013 18:35:43 +0900
parents b5daccf36104
children 409d7679cf7b
comparison
equal deleted inserted replaced
214:fec0726bb126 215:1fd7067f0044
66 addCommand(dataSegmentKey, cmd); 66 addCommand(dataSegmentKey, cmd);
67 if (logger.isDebugEnabled()) 67 if (logger.isDebugEnabled())
68 logger.debug(cmd.getCommandString()); 68 logger.debug(cmd.getCommandString());
69 } 69 }
70 70
71 public void put(String key, Object obj) { 71 public void putObject(String key, Object obj) {
72 DataSegmentKey dataSegmentKey = getDataSegmentKey(key); 72 DataSegmentKey dataSegmentKey = getDataSegmentKey(key);
73 Command cmd = new Command(CommandType.PUT, null, key, obj, 0, 0, null, null, reverseKey); 73 Command cmd = new Command(CommandType.PUT, null, key, obj, 0, 0, null, null, reverseKey);
74 addCommand(dataSegmentKey, cmd); 74 addCommand(dataSegmentKey, cmd);
75 if (logger.isDebugEnabled()) 75 if (logger.isDebugEnabled())
76 logger.debug(cmd.getCommandString()); 76 logger.debug(cmd.getCommandString());
86 addCommand(dataSegmentKey, cmd); 86 addCommand(dataSegmentKey, cmd);
87 if (logger.isDebugEnabled()) 87 if (logger.isDebugEnabled())
88 logger.debug(cmd.getCommandString()); 88 logger.debug(cmd.getCommandString());
89 } 89 }
90 90
91 public void update(String key, Object val) { 91 public void updateObject(String key, Object val) {
92 DataSegmentKey dataSegmentKey = getDataSegmentKey(key); 92 DataSegmentKey dataSegmentKey = getDataSegmentKey(key);
93 Command cmd = new Command(CommandType.UPDATE, null, key, val, 0, 0, null, null, reverseKey); 93 Command cmd = new Command(CommandType.UPDATE, null, key, val, 0, 0, null, null, reverseKey);
94 addCommand(dataSegmentKey, cmd); 94 addCommand(dataSegmentKey, cmd);
95 if (logger.isDebugEnabled()) 95 if (logger.isDebugEnabled())
96 logger.debug(cmd.getCommandString()); 96 logger.debug(cmd.getCommandString());