@Override
 public void innerBeforeRun() {
   super.innerBeforeRun();
   final SerializationService serializationService = getNodeEngine().getSerializationService();
   final ManagedContext managedContext = serializationService.getManagedContext();
   managedContext.initialize(entryProcessor);
 }
Ejemplo n.º 2
0
 @Override
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeObject(entryProcessor);
   out.writeInt(keys.size());
   for (Data key : keys) {
     out.writeData(key);
   }
 }
Ejemplo n.º 3
0
 @Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   entryProcessor = in.readObject();
   int size = in.readInt();
   keys = new HashSet<Data>(size);
   for (int i = 0; i < size; i++) {
     Data key = in.readData();
     keys.add(key);
   }
 }
 @Override
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeObject(entryProcessor);
 }
 @Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   entryProcessor = in.readObject();
 }