Example #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="conn">IndexServer connection object</param>
 /// <param name="lifetimeSeconds">Object lifetime</param>
 internal UserNameCache(IXConnIXServicePortIF_2 conn, int lifetimeSeconds)
     : base(conn, lifetimeSeconds)
 {
 }
Example #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="ix">IndexServer interface</param>
 /// <param name="lifetimeSeconds">Object cache lifetime</param>
 public SordCache(IXConnIXServicePortIF_2 ix, int lifetimeSeconds)
     : base(ix, lifetimeSeconds)
 {
 }
Example #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="ix">IndexServer interface</param>
 /// <param name="findInfo">FindInfo</param>
 protected FindResultCache(IXConnIXServicePortIF_2 ix, TFindInfo findInfo)
 {
     this.ix            = ix;
     this.findInfoValue = findInfo;
     Clear();
 }
Example #4
0
 /// <summary>
 /// Initializes a new cache.
 /// </summary>
 /// <param name="ix">IndexServer interface.</param>
 /// <param name="lifetimeSeconds">Lifetime of objects in the cache, measured in seconds.</param>
 public ItemCache(IXConnIXServicePortIF_2 ix, int lifetimeSeconds)
 {
     this.ix         = ix;
     map             = new Dictionary <String, ItemObj <T> >();
     LifetimeSeconds = lifetimeSeconds;
 }
Example #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="conn">IndexServer connection object</param>
 /// <param name="lifetimeSeconds">Object lifetime</param>
 internal CounterInfoCache(IXConnIXServicePortIF_2 conn, int lifetimeSeconds)
     : base(conn, lifetimeSeconds)
 {
 }
Example #6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="ix">IndexServer connection</param>
 /// <param name="lifetimeSeconds">Cache object lifetime</param>
 internal SordTypeCache(IXConnIXServicePortIF_2 ix, int lifetimeSeconds)
     : base(ix, lifetimeSeconds)
 {
     readMembersZVal = SordTypeC.mbAllICO;
 }
Example #7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="conn">IndexServer connection object</param>
 /// <param name="lifetimeSeconds">Object lifetime</param>
 internal ColorDataCache(IXConnIXServicePortIF_2 conn, int lifetimeSeconds)
     : base(conn, lifetimeSeconds)
 {
 }