Examples of reset()


Examples of org.apache.geronimo.interop.rmi.iiop.CdrInputStream.reset()

                    closeStreams( in, out );
                    return;
                }
            }

            input.reset();
            output.reset();
            results.reset();
        }
    }
View Full Code Here

Examples of org.apache.geronimo.interop.rmi.iiop.CdrOutputStream.reset()

                }
            }

            input.reset();
            output.reset();
            results.reset();
        }
    }

    protected void closeStreams( InputStream in, OutputStream out ) {
        try {
View Full Code Here

Examples of org.apache.giraph.comm.aggregators.AllAggregatorServerData.reset()

    }
    // Wait for all other aggregators and store them
    allAggregatorData.fillNextSuperstepMapsWhenReady(
        getOtherWorkerIdsSet(), previousAggregatedValueMap,
        currentAggregatorMap);
    allAggregatorData.reset();
    if (LOG.isDebugEnabled()) {
      LOG.debug("prepareSuperstep: Aggregators prepared");
    }
  }
View Full Code Here

Examples of org.apache.giraph.comm.aggregators.OwnerAggregatorServerData.reset()

          "IOException occured while sending aggregators to master", e);
    }
    // Wait for master to receive aggregated values before proceeding
    serviceWorker.getWorkerClient().waitAllRequests();

    ownerAggregatorData.reset();
    if (LOG.isDebugEnabled()) {
      LOG.debug("finishSuperstep: Aggregators finished");
    }
  }
View Full Code Here

Examples of org.apache.giraph.zk.BspEvent.reset()

    public void testEvent() {
        BspEvent event = new PredicateLock();
        event.signal();
        boolean gotPredicate = event.waitMsecs(-1);
        assertTrue(gotPredicate == true);
        event.reset();
        gotPredicate = event.waitMsecs(0);
        assertTrue(gotPredicate == false);
    }

    /**
 
View Full Code Here

Examples of org.apache.giraph.zk.PredicateLock.reset()

    public void testEvent() {
        BspEvent event = new PredicateLock();
        event.signal();
        boolean gotPredicate = event.waitMsecs(-1);
        assertTrue(gotPredicate == true);
        event.reset();
        gotPredicate = event.waitMsecs(0);
        assertTrue(gotPredicate == false);
    }

    /**
 
View Full Code Here

Examples of org.apache.hadoop.hbase.filter.Filter.reset()

        }
      }
    }
    Filter filter = get.getFilter();
    if (filter != null) {
      filter.reset();
      List<KeyValue> nkvs = new ArrayList<KeyValue>(kvs.size());
      for (KeyValue kv : kvs) {
        if (filter.filterAllRemaining()) {
          break;
        }
View Full Code Here

Examples of org.apache.hadoop.hbase.io.crypto.Decryptor.reset()

        IOUtils.readFully(in, iv);
        decryptor.setIv(iv);
        // All encrypted blocks will have a nonzero IV length. If we see an IV
        // length of zero, this means the encoding context had 0 bytes of
        // plaintext to encode.
        decryptor.reset();
        in = decryptor.createDecryptionStream(in);
      }
      onDiskSizeWithoutHeader -= Bytes.SIZEOF_BYTE + ivLength;
    }
View Full Code Here

Examples of org.apache.hadoop.hbase.regionserver.HeapMemStoreLAB.Chunk.reset()

    Chunk chunk = reclaimedChunks.poll();
    if (chunk == null) {
      chunk = new Chunk(chunkSize);
      createdChunkCount.incrementAndGet();
    } else {
      chunk.reset();
      reusedChunkCount.incrementAndGet();
    }
    return chunk;
  }
View Full Code Here

Examples of org.apache.hadoop.hbase.regionserver.MemStoreLAB.Chunk.reset()

    Chunk chunk = reclaimedChunks.poll();
    if (chunk == null) {
      chunk = new Chunk(chunkSize);
      createdChunkCount.incrementAndGet();
    } else {
      chunk.reset();
      reusedChunkCount.incrementAndGet();
    }
    return chunk;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.