Code example for AtomicReference

Methods: set

0
  } 
 
  @Test 
  public void testScale() 
  { 
    workerSetupData.set(
        new WorkerSetupData( 
            "0", 
            0, 
            1, 
            "", 
            new EC2NodeData(AMI_ID, INSTANCE_ID, 1, 1, Lists.<String>newArrayList(), "foo"),
            new GalaxyUserData("env", "version", "type") 
        ) 
    ); 
 
    EasyMock.expect(amazonEC2Client.runInstances(EasyMock.anyObject(RunInstancesRequest.class))).andReturn(
        runInstancesResult
    ); 
    EasyMock.expect(amazonEC2Client.describeInstances(EasyMock.anyObject(DescribeInstancesRequest.class)))
Stop searching for code, let great code find you!  Add Codota to your java IDE