public void _1_16_Jscan_Sync(Disquuun disquuun) { Disquuun.Log("_1_16_Jscan_Sync not yet applied"); // [<cursor>] [COUNT <count>] [BUSYLOOP] [QUEUE <queue>] [STATE <state1> STATE <state2> ... STATE <stateN>] [REPLY all|id] WaitUntil("_1_16_Jscan_Sync", () => (disquuun.State() == Disquuun.ConnectionState.OPENED), 5); // var infoData = disquuun.Info().DEPRICATED_Sync(); // var infoResult = DisquuunDeserializer.Info(infoData); // Assert("", 0, infoResult.jobs.registered_jobs, "not match."); }
public void _1_17_Pause_Sync(Disquuun disquuun) { Disquuun.Log("_1_17_Pause_Sync not yet applied"); // <queue-name> option1 [option2 ... optionN] WaitUntil("_1_17_Pause_Sync", () => (disquuun.State() == Disquuun.ConnectionState.OPENED), 5); // var pauseData = disquuun.Pause().DEPRICATED_Sync(); // var pauseResult = DisquuunDeserializer.Info(pauseData); // Assert("", 0, pauseResult.jobs.registered_jobs, "not match."); }
public void _1_15_Qscan_Sync(Disquuun disquuun) { Disquuun.Log("_1_15_Qscan_Sync not yet applied"); // [COUNT <count>] [BUSYLOOP] [MINLEN <len>] [MAXLEN <len>] [IMPORTRATE <rate>] WaitUntil("_1_15_Qscan_Sync", () => (disquuun.State() == Disquuun.ConnectionState.OPENED), 5); // var infoData = disquuun.Info().DEPRICATED_Sync(); // var infoResult = DisquuunDeserializer.Info(infoData); // Assert("", 0, infoResult.jobs.registered_jobs, "not match."); }
public void _1_14_Show_Sync(Disquuun disquuun) { Disquuun.Log("_1_14_Show_Sync not yet applied"); // <job-id> WaitUntil("_1_14_Show_Sync", () => (disquuun.State() == Disquuun.ConnectionState.OPENED), 5); // var infoData = disquuun.Info().DEPRICATED_Sync(); // var infoResult = DisquuunDeserializer.Info(infoData); // Assert("", 0, infoResult.jobs.registered_jobs, "not match."); }
public void _2_10_Qpeek_Async(Disquuun disquuun) { Disquuun.Log("_2_10_Qpeek_Async not yet applied"); // <queue-name> <count> // WaitUntil("", () => (disquuun.State() == Disquuun.ConnectionState.OPENED), 5); // var infoData = disquuun.Info().DEPRICATED_Sync(); // var infoResult = DisquuunDeserializer.Info(infoData); // Assert("", 0, infoResult.jobs.registered_jobs, "not match."); }
public void _2_5_Nack_Async(Disquuun disquuun) { Disquuun.Log("_1_5_Nack_Async not yet applied"); // WaitUntil("", () => (disquuun.State() == Disquuun.ConnectionState.OPENED), 5); // var queueId = Guid.NewGuid().ToString(); // var jobId = DisquuunDeserializer.AddJob( // disquuun.AddJob(queueId, new byte[10]).DEPRICATED_Sync() // ); // var result = disquuun.FastAck(new string[]{jobId}).DEPRICATED_Sync(); // var ackCount = DisquuunDeserializer.FastAck(result); // Assert("", 1, ackCount, "not match."); }
public void _1_10_Qpeek_Sync(Disquuun disquuun) { Disquuun.Log("_1_10_Qpeek_Sync not yet applied"); // <queue-name> <count> WaitUntil("_1_10_Qpeek_Sync", () => (disquuun.State() == Disquuun.ConnectionState.OPENED), 5); // var queueId = Guid.NewGuid().ToString(); // var jobId = DisquuunDeserializer.AddJob( // disquuun.AddJob(queueId, new byte[10]).DEPRICATED_Sync() // ); // var data = disquuun.Qpeek(queueId, 1).DEPRICATED_Sync(); // var infoResult = DisquuunDeserializer.Info(infoData); // Assert("", 0, infoResult.jobs.registered_jobs, "not match."); }