Class S3StorageService

java.lang.Object
com.netflix.kayenta.s3.storage.S3StorageService
All Implemented Interfaces:
com.netflix.kayenta.storage.StorageService

public class S3StorageService extends Object implements com.netflix.kayenta.storage.StorageService
  • Field Details

  • Constructor Details

    • S3StorageService

      public S3StorageService()
  • Method Details

    • servicesAccount

      public boolean servicesAccount(String accountName)
      Specified by:
      servicesAccount in interface com.netflix.kayenta.storage.StorageService
    • ensureBucketExists

      public void ensureBucketExists(String accountName)
      Check to see if the bucket exists, creating it if it is not there.
    • loadObject

      public <T> T loadObject(String accountName, com.netflix.kayenta.storage.ObjectType objectType, String objectKey) throws IllegalArgumentException, com.netflix.spinnaker.kork.web.exceptions.NotFoundException
      Specified by:
      loadObject in interface com.netflix.kayenta.storage.StorageService
      Throws:
      IllegalArgumentException
      com.netflix.spinnaker.kork.web.exceptions.NotFoundException
    • storeObject

      public <T> void storeObject(String accountName, com.netflix.kayenta.storage.ObjectType objectType, String objectKey, T obj, String filename, boolean isAnUpdate)
      Specified by:
      storeObject in interface com.netflix.kayenta.storage.StorageService
    • deleteObject

      public void deleteObject(String accountName, com.netflix.kayenta.storage.ObjectType objectType, String objectKey)
      Specified by:
      deleteObject in interface com.netflix.kayenta.storage.StorageService
    • listObjectKeys

      public List<Map<String,Object>> listObjectKeys(String accountName, com.netflix.kayenta.storage.ObjectType objectType, List<String> applications, boolean skipIndex)
      Specified by:
      listObjectKeys in interface com.netflix.kayenta.storage.StorageService