public interface CredentialStore
extends com.google.common.util.concurrent.Service
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
get(String tenantId,
String clusterId)
Get the fields for the given tenant and cluster.
|
void |
set(String tenantId,
String clusterId,
Map<String,Object> fields)
Set fields for the given tenant and cluster.
|
void |
wipe()
Wipe out all fields for all tenants and all clusters.
|
void |
wipe(String tenantId,
String clusterId)
Wipe out the fields for the tenant and cluster.
|
void set(String tenantId, String clusterId, Map<String,Object> fields) throws IOException
tenantId
- Id of the tenantclusterId
- Id of the clusterfields
- Fields to setIOException
- if there was an exception setting the fieldsMap<String,Object> get(String tenantId, String clusterId) throws IOException
tenantId
- Id of the tenantclusterId
- Id of the clusterIOException
- if there was an exception getting the fieldsvoid wipe(String tenantId, String clusterId) throws IOException
tenantId
- Id of the tenantclusterId
- Id of the clusterIOException
- if there was an exception wiping the fieldsvoid wipe() throws IOException
IOException
- if there was an exception wiping all fieldsCopyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.