if (this.getObjectsToSample().length>0)
{
BufferSolution sol = new BufferSolution();
sol.setConnection(Connection);
sol.setRepository(repos);
sol.initialize();
sol.add(remoteStorage,new Double(1.0));
LinkedList samples = new LinkedList();
for (int j=0;j<this.maxIterations;j++)
{