WMS_CACHE_EVENT_TYPE

banner art

Previous Next

WMS_CACHE_EVENT_TYPE

The WMS_CACHE_EVENT_TYPE enumeration type identifies possible cache events.

Syntax

  typedef enum WMS_CACHE_EVENT_TYPE{
  WMS_EVENT_CACHE_HIT = 0,
  WMS_EVENT_CACHE_MISS = 1,
  WMS_EVENT_CACHE_DOWNLOAD_START = 2,
  WMS_EVENT_CACHE_DOWNLOAD_COMPLETE = 3,
  WMS_EVENT_CACHE_REDIRECT = 4,
  WMS_EVENT_CACHE_REDIRECT_TO_PROXY = 5,
  WMS_EVENT_CACHE_PRESTUFF_COMPLETE = 6,
  WMS_NUM_CACHE_EVENTS = 7
};

Members

WMS_EVENT_CACHE_HIT

The cache contains the requested content.

WMS_EVENT_CACHE_MISS

The cache does not contain the requested content.

WMS_EVENT_CACHE_DOWNLOAD_START

Downloading of content to the cache has begun.

WMS_EVENT_CACHE_DOWNLOAD_COMPLETE

Downloading of content to the cache is complete.

WMS_EVENT_CACHE_REDIRECT

The client has been redirected to the cache.

WMS_EVENT_CACHE_REDIRECT_TO_PROXY

The client has been redirected to another proxy computer.

WMS_EVENT_CACHE_PRESTUFF_COMPLETE

Content has been placed in the cache.

WMS_NUM_CACHE_EVENTS

The number of enumeration values in the WMS_CACHE_EVENT_TYPE enumeration type, not including the WMS_NUM_CACHE_EVENTS value.

Remarks

This enumeration identifies cache subevents related to the WMS_EVENT_CACHE event in the WMS_EVENT_TYPE enumeration. You can find the subevent by examining the WMS_COMMAND_CONTEXT_EVENT value in the command context.

Requirements

Header: event.h.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003 family, Windows Server 2008 family.

See Also

Previous Next