public class InstanceExistenceVerifier extends Object implements EntityExistenceVerifier<InstanceId>
public void ensureExists(InstanceId instanceId) throws NotFoundException
EntityExistenceVerifier
EntityId
exists.ensureExists
in interface EntityExistenceVerifier<InstanceId>
instanceId
- the EntityId
whose existence is to be ensuredNotFoundException
- if the specified EntityId
does not existCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.