C# 클래스 TrolleyTracker.Models.TrolleyCache

Global cache to quickly satisfy large number of client queries from cache.
파일 보기 프로젝트 열기: codeforgreenville/trolley-tracker-api-dot-net 1 사용 예제들

공개 메소드들

메소드 설명
GetRunningTrolleys ( bool isDebug ) : List
Initialize ( ) : void
UpdateTrolley ( Trolley trolley ) : void

비공개 메소드들

메소드 설명
AgeCacheEntries ( ) : void

Check items in cache periodically and remove any that are inactive (haven't called Update() for max age period) Call from inside a lock() statement

CheckActiveRoutes ( ) : void
SetRoutesActive ( ) : void

메소드 상세

GetRunningTrolleys() 공개 정적인 메소드

public static GetRunningTrolleys ( bool isDebug ) : List
isDebug bool
리턴 List

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

UpdateTrolley() 공개 정적인 메소드

public static UpdateTrolley ( Trolley trolley ) : void
trolley Trolley
리턴 void