org.wso2.carbon.governance.api.cache

## Class ArtifactCache

- java.lang.Object
- - org.wso2.carbon.governance.api.cache.ArtifactCache

-     public class ArtifactCache
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ArtifactCache()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addArtifact(String key, GovernanceArtifact value)`
    `GovernanceArtifact` | `getArtifact(String key)`
    `void` | `invalidateArtifact(String key)`
    `void` | `invalidateCache()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ArtifactCache

          public ArtifactCache()

  - ### Method Detail

    - #### invalidateCache

          public void invalidateCache()

    - #### invalidateArtifact

          public void invalidateArtifact(String key)

    - #### addArtifact

          public void addArtifact(String key,
                                  GovernanceArtifact value)

    - #### getArtifact

          public GovernanceArtifact getArtifact(String key)

Copyright © 2017 WSO2. All Rights Reserved.