Interface UsageReplicationService


public interface UsageReplicationService
The Interface UsageReplicationService provide APIs for replicating the asset usage information between shared system.
  • Method Details

    • isSharedAsset

      boolean isSharedAsset(Asset asset)
      Checks if is asset is shred between system
      Parameters:
      asset - the asset to check
      Returns:
      true, if is asset is shared between system
    • replicateAssetUsageRecord

      void replicateAssetUsageRecord(Asset asset, AssetUsageRecord usageRecord) throws PersistenceException, ReplicationException
      Replicate the asset usage record with the shared system.
      Parameters:
      asset - for which usage information need to be replicated
      usageRecord - the AssetUsageRecord
      Throws:
      PersistenceException - the persistence exception
      ReplicationException - the replication exception