Interface IMediaCacheStoreNotify


public interface IMediaCacheStoreNotify
MediaCache Interface for store creation and destroy notifications

This interface can be configured via the CacheStoreListenerClassList configuration item in the main MediaCache configuration section.

<CacheStoreListenerClassList>com.wowza.mediacache.example.storelistener</CacheStoreListenerClassList>

It is triggered when a store is added/removed from the running MediaCache configuration. This is done either as MediaCache starts up or dynamically via the API.
  
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMediaCacheStoreCreate(com.wowza.wms.mediacache.model.MediaCacheStore mediaCacheStore)
    When a store is added this is called with the current store as a parameter.
    void
    onMediaCacheStoreDestroy(com.wowza.wms.mediacache.model.MediaCacheStore mediaCacheStore)
    When a store is removed successfully this is called with the store removed as a parameter.
  • Method Details

    • onMediaCacheStoreCreate

      void onMediaCacheStoreCreate(com.wowza.wms.mediacache.model.MediaCacheStore mediaCacheStore)
      When a store is added this is called with the current store as a parameter. You can not at this point alter a store configuration, any changes made are ignored.
      Parameters:
      mediaCacheStore -
    • onMediaCacheStoreDestroy

      void onMediaCacheStoreDestroy(com.wowza.wms.mediacache.model.MediaCacheStore mediaCacheStore)
      When a store is removed successfully this is called with the store removed as a parameter.
      Parameters:
      mediaCacheStore -