예제 #1
0
 public CmdlineRemoteProto.Message.ControllerMessage.FSEvent createNextEvent() {
   final CmdlineRemoteProto.Message.ControllerMessage.FSEvent.Builder builder =
       CmdlineRemoteProto.Message.ControllerMessage.FSEvent.newBuilder();
   builder.setOrdinal(++myNextEventOrdinal);
   builder.addAllChangedPaths(myChanged);
   myChanged.clear();
   builder.addAllDeletedPaths(myDeleted);
   myDeleted.clear();
   return builder.build();
 }
예제 #2
0
 public void dropChanges() {
   myNeedRescan = true;
   myNextEventOrdinal = 0L;
   myChanged.clear();
   myDeleted.clear();
 }