docstring_tokens
list | code_tokens
list |
---|---|
[
"adapt",
"a",
"org",
"knowm",
"xchange",
"bitcoinde",
"dto",
"marketdata",
"bitcoinde",
"trade",
"[",
"]",
"object",
"to",
"a",
"trades",
"object"
] | [
"list",
"<",
"trade",
">",
"trades",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"long",
"last",
"trade",
"id",
"=",
"0",
";",
"for",
"(",
"bitcoinde",
"trade",
"bitcoinde",
"trade",
":",
"bitcoinde",
"trades",
"wrapper",
"get",
"trades",
"(",
")",
")",
"{",
"final",
"long",
"tid",
"=",
"bitcoinde",
"trade",
"get",
"tid",
"(",
")",
";",
"if",
"(",
"tid",
">",
"last",
"trade",
"id",
")",
"{",
"last",
"trade",
"id",
"=",
"tid",
";",
"}",
"trades",
"add",
"(",
"new",
"trade",
"(",
"null",
",",
"bitcoinde",
"trade",
"get",
"amount",
"(",
")",
",",
"currency",
"pair",
",",
"bitcoinde",
"trade",
"get",
"price",
"(",
")",
",",
"date",
"utils",
"from",
"millis",
"utc",
"(",
"bitcoinde",
"trade",
"get",
"date",
"(",
")",
"*",
"1000l",
")",
",",
"string",
"value",
"of",
"(",
"tid",
")",
")",
")",
";",
"}",
"return",
"new",
"trades",
"(",
"trades",
",",
"last",
"trade",
"id",
",",
"trade",
"sort",
"type",
"sort",
"by",
"i",
"d",
")",
";"
] |
[
"returns",
"a",
"{",
"@",
"link",
"midi",
"device",
"info",
"}",
"object",
"which",
"describes",
"this",
"device"
] | [
"return",
"m",
"device",
"info",
";"
] |
[
"makes",
"midi",
"device",
"no",
"longer",
"available",
"to",
"the",
"native",
"api"
] | [
"if",
"(",
"m",
"native",
"handle",
"=",
"=",
"0",
")",
"{",
"return",
";",
"}",
"synchronized",
"(",
"m",
"guard",
")",
"{",
"native",
"remove",
"from",
"native",
"(",
"m",
"native",
"handle",
")",
";",
"m",
"native",
"handle",
"=",
"0",
";",
"}",
"synchronized",
"(",
"m",
"mirrored",
"devices",
")",
"{",
"m",
"mirrored",
"devices",
"remove",
"(",
"this",
")",
";",
"}"
] |
[
"<",
"p",
">",
"cancels",
"a",
"cluster",
"job",
"you",
"can",
"only",
"cancel",
"a",
"cluster",
"job",
"while",
"it",
"s",
"in",
"the",
"<",
"code",
">",
"awaiting",
"quorum",
"<",
"/",
"code",
">",
"status",
"you",
"ll",
"have",
"at",
"least",
"an",
"hour",
"after",
"creating",
"a",
"cluster",
"job",
"to",
"cancel",
"it",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"cancel",
"cluster",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"creates",
"an",
"address",
"for",
"a",
"snowball",
"to",
"be",
"shipped",
"to",
"in",
"most",
"regions",
"addresses",
"are",
"validated",
"at",
"the",
"time",
"of",
"creation",
"the",
"address",
"you",
"provide",
"must",
"be",
"located",
"within",
"the",
"serviceable",
"area",
"of",
"your",
"region",
"if",
"the",
"address",
"is",
"invalid",
"or",
"unsupported",
"then",
"an",
"exception",
"is",
"thrown",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"create",
"address",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"takes",
"an",
"<",
"code",
">",
"address",
"id",
"<",
"/",
"code",
">",
"and",
"returns",
"specific",
"details",
"about",
"that",
"address",
"in",
"the",
"form",
"of",
"an",
"<",
"code",
">",
"address",
"<",
"/",
"code",
">",
"object",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"describe",
"address",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"provides",
"cluster",
"-",
"level",
"details",
"including",
"status",
"hardware",
"and",
"software",
"configuration",
"vpc",
"settings",
"and",
"so",
"on",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"describe",
"cluster",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"returns",
"a",
"link",
"to",
"an",
"amazon",
"s3",
"presigned",
"url",
"for",
"the",
"manifest",
"file",
"associated",
"with",
"the",
"specified",
"<",
"code",
">",
"job",
"id",
"<",
"/",
"code",
">",
"value",
"you",
"can",
"access",
"the",
"manifest",
"file",
"for",
"up",
"to",
"60",
"minutes",
"after",
"this",
"request",
"has",
"been",
"made",
"to",
"access",
"the",
"manifest",
"file",
"after",
"60",
"minutes",
"have",
"passed",
"you",
"ll",
"have",
"to",
"make",
"another",
"call",
"to",
"the",
"<",
"code",
">",
"get",
"job",
"manifest",
"<",
"/",
"code",
">",
"action",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"manifest",
"is",
"an",
"encrypted",
"file",
"that",
"you",
"can",
"download",
"after",
"your",
"job",
"enters",
"the",
"<",
"code",
">",
"with",
"customer",
"<",
"/",
"code",
">",
"status",
"the",
"manifest",
"is",
"decrypted",
"by",
"using",
"the",
"<",
"code",
">",
"unlock",
"code",
"<",
"/",
"code",
">",
"code",
"value",
"when",
"you",
"pass",
"both",
"values",
"to",
"the",
"snowball",
"through",
"the",
"snowball",
"client",
"when",
"the",
"client",
"is",
"started",
"for",
"the",
"first",
"time",
"<",
"/",
"p",
">",
"<",
"p",
">",
"as",
"a",
"best",
"practice",
"we",
"recommend",
"that",
"you",
"don",
"t",
"save",
"a",
"copy",
"of",
"an",
"<",
"code",
">",
"unlock",
"code",
"<",
"/",
"code",
">",
"value",
"in",
"the",
"same",
"location",
"as",
"the",
"manifest",
"file",
"for",
"that",
"job",
"saving",
"these",
"separately",
"helps",
"prevent",
"unauthorized",
"parties",
"from",
"gaining",
"access",
"to",
"the",
"snowball",
"associated",
"with",
"that",
"job",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"credentials",
"of",
"a",
"given",
"job",
"including",
"its",
"manifest",
"file",
"and",
"unlock",
"code",
"expire",
"90",
"days",
"after",
"the",
"job",
"is",
"created",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"get",
"job",
"manifest",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"returns",
"the",
"<",
"code",
">",
"unlock",
"code",
"<",
"/",
"code",
">",
"code",
"value",
"for",
"the",
"specified",
"job",
"a",
"particular",
"<",
"code",
">",
"unlock",
"code",
"<",
"/",
"code",
">",
"value",
"can",
"be",
"accessed",
"for",
"up",
"to",
"90",
"days",
"after",
"the",
"associated",
"job",
"has",
"been",
"created",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"<",
"code",
">",
"unlock",
"code",
"<",
"/",
"code",
">",
"value",
"is",
"a",
"29",
"-",
"character",
"code",
"with",
"25",
"alphanumeric",
"characters",
"and",
"4",
"hyphens",
"this",
"code",
"is",
"used",
"to",
"decrypt",
"the",
"manifest",
"file",
"when",
"it",
"is",
"passed",
"along",
"with",
"the",
"manifest",
"to",
"the",
"snowball",
"through",
"the",
"snowball",
"client",
"when",
"the",
"client",
"is",
"started",
"for",
"the",
"first",
"time",
"<",
"/",
"p",
">",
"<",
"p",
">",
"as",
"a",
"best",
"practice",
"we",
"recommend",
"that",
"you",
"don",
"t",
"save",
"a",
"copy",
"of",
"the",
"<",
"code",
">",
"unlock",
"code",
"<",
"/",
"code",
">",
"in",
"the",
"same",
"location",
"as",
"the",
"manifest",
"file",
"for",
"that",
"job",
"saving",
"these",
"separately",
"helps",
"prevent",
"unauthorized",
"parties",
"from",
"gaining",
"access",
"to",
"the",
"snowball",
"associated",
"with",
"that",
"job",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"get",
"job",
"unlock",
"code",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"returns",
"information",
"about",
"the",
"snowball",
"service",
"limit",
"for",
"your",
"account",
"and",
"also",
"the",
"number",
"of",
"snowballs",
"your",
"account",
"has",
"in",
"use",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"default",
"service",
"limit",
"for",
"the",
"number",
"of",
"snowballs",
"that",
"you",
"can",
"have",
"at",
"one",
"time",
"is",
"1",
"if",
"you",
"want",
"to",
"increase",
"your",
"service",
"limit",
"contact",
"aws",
"support",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"get",
"snowball",
"usage",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"returns",
"an",
"array",
"of",
"<",
"code",
">",
"job",
"list",
"entry",
"<",
"/",
"code",
">",
"objects",
"of",
"the",
"specified",
"length",
"each",
"<",
"code",
">",
"job",
"list",
"entry",
"<",
"/",
"code",
">",
"object",
"is",
"for",
"a",
"job",
"in",
"the",
"specified",
"cluster",
"and",
"contains",
"a",
"job",
"s",
"state",
"a",
"job",
"s",
"id",
"and",
"other",
"information",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"list",
"cluster",
"jobs",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"this",
"action",
"returns",
"a",
"list",
"of",
"the",
"different",
"amazon",
"ec2",
"amazon",
"machine",
"images",
"(",
"a",
"m",
"is",
")",
"that",
"are",
"owned",
"by",
"your",
"aws",
"account",
"that",
"would",
"be",
"supported",
"for",
"use",
"on",
"a",
"snowball",
"edge",
"device",
"currently",
"supported",
"a",
"m",
"is",
"are",
"based",
"on",
"the",
"cent",
"o",
"s",
"7",
"(",
"x",
"8",
"6",
"64",
")",
"-",
"with",
"updates",
"hvm",
"ubuntu",
"server",
"14",
"04",
"lts",
"(",
"hvm",
")",
"and",
"ubuntu",
"16",
"04",
"lts",
"-",
"xenial",
"(",
"hvm",
")",
"images",
"available",
"on",
"the",
"aws",
"marketplace",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"list",
"compatible",
"images",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"modifies",
"the",
"settings",
"for",
"a",
"dax",
"cluster",
"you",
"can",
"use",
"this",
"action",
"to",
"change",
"one",
"or",
"more",
"cluster",
"configuration",
"parameters",
"by",
"specifying",
"the",
"parameters",
"and",
"the",
"new",
"values",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"update",
"cluster",
"(",
"request",
")",
";"
] |
[
"returns",
"the",
"strategy"
] | [
"return",
"strategy",
";"
] |
[
"returns",
"the",
"merge",
"buffer"
] | [
"return",
"merge",
"buffer",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"new",
"deflater",
"(",
"deflater",
"default",
"compression",
",",
"true",
")",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"new",
"inflater",
"(",
"true",
")",
";"
] |
[
"copies",
"all",
"data",
"from",
"the",
"input",
"stream",
"to",
"the",
"output",
"stream"
] | [
"byte",
"[",
"]",
"buf",
"=",
"new",
"byte",
"[",
"0x",
"1",
"0",
"0",
"0",
"]",
";",
"long",
"total",
"=",
"0",
";",
"int",
"r",
";",
"while",
"(",
"(",
"r",
"=",
"from",
"read",
"(",
"buf",
")",
")",
"!",
"=",
"-",
"1",
")",
"{",
"to",
"write",
"(",
"buf",
",",
"0",
",",
"r",
")",
";",
"total",
"+",
"=",
"r",
";",
"}",
"return",
"total",
";"
] |
[
"write",
"all",
"contents",
"from",
"the",
"{",
"@",
"link",
"input",
"stream",
"}",
"as",
"a",
"prefix",
"file",
"for",
"the",
"combined",
"zip",
"file"
] | [
"out",
"start",
"prefix",
"file",
"(",
")",
";",
"copy",
"stream",
"(",
"in",
",",
"out",
")",
";",
"out",
"end",
"prefix",
"file",
"(",
")",
";"
] |
[
"adds",
"a",
"directory",
"entry",
"to",
"the",
"combined",
"zip",
"file",
"using",
"the",
"specified",
"filename",
"and",
"date"
] | [
"add",
"directory",
"(",
"filename",
",",
"date",
",",
"new",
"extra",
"data",
"[",
"0",
"]",
")",
";"
] |
[
"adds",
"a",
"file",
"with",
"the",
"specified",
"name",
"to",
"the",
"combined",
"zip",
"file"
] | [
"add",
"file",
"(",
"filename",
",",
"null",
",",
"in",
")",
";"
] |
[
"adds",
"a",
"file",
"with",
"the",
"specified",
"name",
"and",
"date",
"to",
"the",
"combined",
"zip",
"file"
] | [
"zip",
"file",
"entry",
"entry",
"=",
"new",
"zip",
"file",
"entry",
"(",
"filename",
")",
";",
"entry",
"set",
"time",
"(",
"date",
"!",
"=",
"null",
"?",
"date",
"get",
"time",
"(",
")",
":",
"new",
"date",
"(",
")",
"get",
"time",
"(",
")",
")",
";",
"add",
"file",
"(",
"entry",
",",
"in",
")",
";"
] |
[
"adds",
"the",
"contents",
"of",
"a",
"zip",
"file",
"to",
"the",
"combined",
"zip",
"file",
"using",
"the",
"specified",
"{",
"@",
"link",
"zip",
"entry",
"filter",
"}",
"to",
"determine",
"the",
"appropriate",
"action",
"for",
"each",
"file"
] | [
"try",
"(",
"zip",
"reader",
"zip",
"=",
"new",
"zip",
"reader",
"(",
"zip",
"file",
")",
")",
"{",
"for",
"(",
"zip",
"file",
"entry",
"entry",
":",
"zip",
"entries",
"(",
")",
")",
"{",
"string",
"filename",
"=",
"entry",
"get",
"name",
"(",
")",
";",
"entry",
"action",
"action",
"=",
"get",
"action",
"(",
"filename",
")",
";",
"switch",
"(",
"action",
"get",
"type",
"(",
")",
")",
"{",
"case",
"skip",
":",
"break",
";",
"case",
"copy",
":",
"case",
"rename",
":",
"write",
"entry",
"(",
"zip",
",",
"entry",
",",
"action",
")",
";",
"break",
";",
"case",
"merge",
":",
"entries",
"put",
"(",
"filename",
",",
"null",
")",
";",
"input",
"stream",
"in",
"=",
"zip",
"get",
"raw",
"input",
"stream",
"(",
"entry",
")",
";",
"if",
"(",
"entry",
"get",
"method",
"(",
")",
"=",
"=",
"compression",
"deflated",
")",
"{",
"in",
"=",
"new",
"inflater",
"input",
"stream",
"(",
"in",
",",
"get",
"inflater",
"(",
")",
")",
";",
"}",
"action",
"get",
"strategy",
"(",
")",
"merge",
"(",
"in",
",",
"action",
"get",
"merge",
"buffer",
"(",
")",
")",
";",
"break",
";",
"}",
"}",
"}"
] |
[
"writes",
"an",
"entry",
"with",
"the",
"given",
"name",
"date",
"and",
"external",
"file",
"attributes",
"from",
"the",
"buffer"
] | [
"crc32",
"crc",
"=",
"new",
"crc32",
"(",
")",
";",
"crc",
"update",
"(",
"uncompressed",
")",
";",
"entry",
"set",
"crc",
"(",
"crc",
"get",
"value",
"(",
")",
")",
";",
"entry",
"set",
"size",
"(",
"uncompressed",
"length",
")",
";",
"if",
"(",
"mode",
"=",
"=",
"output",
"mode",
"force",
"stored",
")",
"{",
"entry",
"set",
"method",
"(",
"compression",
"stored",
")",
";",
"entry",
"set",
"compressed",
"size",
"(",
"uncompressed",
"length",
")",
";",
"write",
"entry",
"(",
"entry",
",",
"new",
"byte",
"array",
"input",
"stream",
"(",
"uncompressed",
")",
")",
";",
"}",
"else",
"{",
"byte",
"array",
"output",
"stream",
"compressed",
"=",
"new",
"byte",
"array",
"output",
"stream",
"(",
")",
";",
"copy",
"stream",
"(",
"new",
"deflater",
"input",
"stream",
"(",
"new",
"byte",
"array",
"input",
"stream",
"(",
"uncompressed",
")",
",",
"get",
"deflater",
"(",
")",
")",
",",
"compressed",
")",
";",
"entry",
"set",
"method",
"(",
"compression",
"deflated",
")",
";",
"entry",
"set",
"compressed",
"size",
"(",
"compressed",
"size",
"(",
")",
")",
";",
"write",
"entry",
"(",
"entry",
",",
"new",
"byte",
"array",
"input",
"stream",
"(",
"compressed",
"to",
"byte",
"array",
"(",
")",
")",
")",
";",
"}"
] |
[
"writes",
"the",
"specified",
"{"
] | [
"out",
"put",
"next",
"entry",
"(",
"entry",
")",
";",
"copy",
"stream",
"(",
"data",
",",
"out",
")",
";",
"out",
"close",
"entry",
"(",
")",
";",
"entries",
"put",
"(",
"entry",
"get",
"name",
"(",
")",
",",
"entry",
")",
";"
] |
[
"writes",
"any",
"remaining",
"output",
"data",
"to",
"the",
"output",
"stream",
"and",
"also",
"creates",
"the",
"merged",
"entries",
"by",
"calling",
"the",
"{",
"@",
"link",
"custom",
"merge",
"strategy",
"}",
"implementations",
"given",
"back",
"from",
"the",
"{",
"@",
"link",
"zip",
"entry",
"filter",
"}"
] | [
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"entry",
"action",
">",
"entry",
":",
"actions",
"entry",
"set",
"(",
")",
")",
"{",
"string",
"filename",
"=",
"entry",
"get",
"key",
"(",
")",
";",
"entry",
"action",
"action",
"=",
"entry",
"get",
"value",
"(",
")",
";",
"if",
"(",
"action",
"get",
"type",
"(",
")",
"=",
"=",
"action",
"type",
"merge",
")",
"{",
"byte",
"array",
"output",
"stream",
"uncompressed",
"=",
"action",
"get",
"merge",
"buffer",
"(",
")",
";",
"action",
"get",
"strategy",
"(",
")",
"finish",
"(",
"uncompressed",
")",
";",
"zip",
"file",
"entry",
"e",
"=",
"new",
"zip",
"file",
"entry",
"(",
"filename",
")",
";",
"e",
"set",
"time",
"(",
"action",
"get",
"date",
"(",
")",
"!",
"=",
"null",
"?",
"action",
"get",
"date",
"(",
")",
"get",
"time",
"(",
")",
":",
"new",
"date",
"(",
")",
"get",
"time",
"(",
")",
")",
";",
"write",
"entry",
"from",
"buffer",
"(",
"e",
",",
"uncompressed",
"to",
"byte",
"array",
"(",
")",
")",
";",
"}",
"}",
"out",
"finish",
"(",
")",
";"
] |
[
"ensures",
"the",
"truth",
"of",
"an",
"expression",
"involving",
"one",
"or",
"more",
"parameters",
"to",
"the",
"calling",
"method"
] | [
"if",
"(",
"!",
"expression",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"string",
"format",
"(",
"error",
"message",
"template",
",",
"error",
"message",
"args",
")",
")",
";",
"}"
] |
[
"ensures",
"the",
"truth",
"of",
"an",
"expression",
"involving",
"state"
] | [
"if",
"(",
"!",
"expression",
")",
"{",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
"string",
"format",
"(",
"error",
"message",
"template",
",",
"error",
"message",
"args",
")",
")",
";",
"}"
] |
[
"sets",
"whether",
"this",
"item",
"animator",
"supports",
"animations",
"of",
"item",
"change",
"events",
"if",
"you",
"set",
"this",
"property",
"to",
"false",
"actions",
"on",
"the",
"data",
"set",
"which",
"change",
"the",
"contents",
"of",
"items",
"will",
"not",
"be",
"animated",
"what",
"those",
"animations",
"do",
"is",
"left",
"up",
"to",
"the",
"discretion",
"of",
"the",
"item",
"animator",
"subclass",
"in",
"its",
"{",
"@",
"link",
"#",
"animate",
"change",
"(",
"view",
"holder",
"view",
"holder",
"int",
"int",
"int",
"int",
")",
"}",
"implementation",
"the",
"value",
"of",
"this",
"property",
"is",
"true",
"by",
"default"
] | [
"m",
"supports",
"change",
"animations",
"=",
"supports",
"change",
"animations",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"return",
"!",
"m",
"supports",
"change",
"animations",
"|",
"|",
"view",
"holder",
"is",
"invalid",
"(",
")",
";"
] |
[
"called",
"when",
"an",
"item",
"is",
"removed",
"from",
"the",
"recycler",
"view",
"implementors",
"can",
"choose",
"whether",
"and",
"how",
"to",
"animate",
"that",
"change",
"but",
"must",
"always",
"call",
"{",
"@",
"link",
"#",
"dispatch",
"remove",
"finished",
"(",
"view",
"holder",
")",
"}",
"when",
"done",
"either",
"immediately",
"(",
"if",
"no",
"animation",
"will",
"occur",
")",
"or",
"after",
"the",
"animation",
"actually",
"finishes",
"the",
"return",
"value",
"indicates",
"whether",
"an",
"animation",
"has",
"been",
"set",
"up",
"and",
"whether",
"the",
"item",
"animator",
"s",
"{",
"@",
"link",
"#",
"run",
"pending",
"animations",
"(",
")",
"}",
"method",
"should",
"be",
"called",
"at",
"the",
"next",
"opportunity",
"this",
"mechanism",
"allows",
"item",
"animator",
"to",
"set",
"up",
"individual",
"animations",
"as",
"separate",
"calls",
"to",
"{",
"@",
"link",
"#",
"animate",
"add",
"(",
"view",
"holder",
")",
"animate",
"add",
"(",
")",
"}",
"{",
"@",
"link",
"#",
"animate",
"move",
"(",
"view",
"holder",
"int",
"int",
"int",
"int",
")",
"animate",
"move",
"(",
")",
"}",
"{",
"@",
"link",
"#",
"animate",
"remove",
"(",
"view",
"holder",
")",
"animate",
"remove",
"(",
")",
"}",
"and",
"{",
"@",
"link",
"#",
"animate",
"change",
"(",
"view",
"holder",
"view",
"holder",
"int",
"int",
"int",
"int",
")",
"}",
"come",
"in",
"one",
"by",
"one",
"then",
"start",
"the",
"animations",
"together",
"in",
"the",
"later",
"call",
"to",
"{",
"@",
"link",
"#",
"run",
"pending",
"animations",
"(",
")",
"}"
] | [
"public",
"abstract",
"boolean",
"animate",
"remove",
"(",
"view",
"holder",
"holder",
")",
";"
] |
[
"called",
"when",
"an",
"item",
"is",
"added",
"to",
"the",
"recycler",
"view",
"implementors",
"can",
"choose",
"whether",
"and",
"how",
"to",
"animate",
"that",
"change",
"but",
"must",
"always",
"call",
"{",
"@",
"link",
"#",
"dispatch",
"add",
"finished",
"(",
"view",
"holder",
")",
"}",
"when",
"done",
"either",
"immediately",
"(",
"if",
"no",
"animation",
"will",
"occur",
")",
"or",
"after",
"the",
"animation",
"actually",
"finishes",
"the",
"return",
"value",
"indicates",
"whether",
"an",
"animation",
"has",
"been",
"set",
"up",
"and",
"whether",
"the",
"item",
"animator",
"s",
"{",
"@",
"link",
"#",
"run",
"pending",
"animations",
"(",
")",
"}",
"method",
"should",
"be",
"called",
"at",
"the",
"next",
"opportunity",
"this",
"mechanism",
"allows",
"item",
"animator",
"to",
"set",
"up",
"individual",
"animations",
"as",
"separate",
"calls",
"to",
"{",
"@",
"link",
"#",
"animate",
"add",
"(",
"view",
"holder",
")",
"animate",
"add",
"(",
")",
"}",
"{",
"@",
"link",
"#",
"animate",
"move",
"(",
"view",
"holder",
"int",
"int",
"int",
"int",
")",
"animate",
"move",
"(",
")",
"}",
"{",
"@",
"link",
"#",
"animate",
"remove",
"(",
"view",
"holder",
")",
"animate",
"remove",
"(",
")",
"}",
"and",
"{",
"@",
"link",
"#",
"animate",
"change",
"(",
"view",
"holder",
"view",
"holder",
"int",
"int",
"int",
"int",
")",
"}",
"come",
"in",
"one",
"by",
"one",
"then",
"start",
"the",
"animations",
"together",
"in",
"the",
"later",
"call",
"to",
"{",
"@",
"link",
"#",
"run",
"pending",
"animations",
"(",
")",
"}"
] | [
"public",
"abstract",
"boolean",
"animate",
"add",
"(",
"view",
"holder",
"holder",
")",
";"
] |
[
"called",
"when",
"an",
"item",
"is",
"moved",
"in",
"the",
"recycler",
"view",
"implementors",
"can",
"choose",
"whether",
"and",
"how",
"to",
"animate",
"that",
"change",
"but",
"must",
"always",
"call",
"{",
"@",
"link",
"#",
"dispatch",
"move",
"finished",
"(",
"view",
"holder",
")",
"}",
"when",
"done",
"either",
"immediately",
"(",
"if",
"no",
"animation",
"will",
"occur",
")",
"or",
"after",
"the",
"animation",
"actually",
"finishes",
"the",
"return",
"value",
"indicates",
"whether",
"an",
"animation",
"has",
"been",
"set",
"up",
"and",
"whether",
"the",
"item",
"animator",
"s",
"{",
"@",
"link",
"#",
"run",
"pending",
"animations",
"(",
")",
"}",
"method",
"should",
"be",
"called",
"at",
"the",
"next",
"opportunity",
"this",
"mechanism",
"allows",
"item",
"animator",
"to",
"set",
"up",
"individual",
"animations",
"as",
"separate",
"calls",
"to",
"{",
"@",
"link",
"#",
"animate",
"add",
"(",
"view",
"holder",
")",
"animate",
"add",
"(",
")",
"}",
"{",
"@",
"link",
"#",
"animate",
"move",
"(",
"view",
"holder",
"int",
"int",
"int",
"int",
")",
"animate",
"move",
"(",
")",
"}",
"{",
"@",
"link",
"#",
"animate",
"remove",
"(",
"view",
"holder",
")",
"animate",
"remove",
"(",
")",
"}",
"and",
"{",
"@",
"link",
"#",
"animate",
"change",
"(",
"view",
"holder",
"view",
"holder",
"int",
"int",
"int",
"int",
")",
"}",
"come",
"in",
"one",
"by",
"one",
"then",
"start",
"the",
"animations",
"together",
"in",
"the",
"later",
"call",
"to",
"{",
"@",
"link",
"#",
"run",
"pending",
"animations",
"(",
")",
"}"
] | [
"public",
"abstract",
"boolean",
"animate",
"move",
"(",
"view",
"holder",
"holder",
",",
"int",
"from",
"x",
",",
"int",
"from",
"y",
",",
"int",
"to",
"x",
",",
"int",
"to",
"y",
")",
";"
] |
[
"called",
"when",
"an",
"item",
"is",
"changed",
"in",
"the",
"recycler",
"view",
"as",
"indicated",
"by",
"a",
"call",
"to",
"{",
"@",
"link",
"adapter",
"#",
"notify",
"item",
"changed",
"(",
"int",
")",
"}",
"or",
"{",
"@",
"link",
"adapter",
"#",
"notify",
"item",
"range",
"changed",
"(",
"int",
"int",
")",
"}",
"<",
"p",
">",
"implementers",
"can",
"choose",
"whether",
"and",
"how",
"to",
"animate",
"changes",
"but",
"must",
"always",
"call",
"{",
"@",
"link",
"#",
"dispatch",
"change",
"finished",
"(",
"view",
"holder",
"boolean",
")",
"}",
"for",
"each",
"non",
"-",
"null",
"distinct",
"view",
"holder",
"either",
"immediately",
"(",
"if",
"no",
"animation",
"will",
"occur",
")",
"or",
"after",
"the",
"animation",
"actually",
"finishes",
"if",
"the",
"{",
"@",
"code",
"old",
"holder",
"}",
"is",
"the",
"same",
"view",
"holder",
"as",
"the",
"{",
"@",
"code",
"new",
"holder",
"}",
"you",
"must",
"call",
"{",
"@",
"link",
"#",
"dispatch",
"change",
"finished",
"(",
"view",
"holder",
"boolean",
")",
"}",
"once",
"and",
"only",
"once",
"in",
"that",
"case",
"the",
"second",
"parameter",
"of",
"{",
"@",
"code",
"dispatch",
"change",
"finished",
"}",
"is",
"ignored",
"<",
"p",
">",
"the",
"return",
"value",
"indicates",
"whether",
"an",
"animation",
"has",
"been",
"set",
"up",
"and",
"whether",
"the",
"item",
"animator",
"s",
"{",
"@",
"link",
"#",
"run",
"pending",
"animations",
"(",
")",
"}",
"method",
"should",
"be",
"called",
"at",
"the",
"next",
"opportunity",
"this",
"mechanism",
"allows",
"item",
"animator",
"to",
"set",
"up",
"individual",
"animations",
"as",
"separate",
"calls",
"to",
"{",
"@",
"link",
"#",
"animate",
"add",
"(",
"view",
"holder",
")",
"animate",
"add",
"(",
")",
"}",
"{",
"@",
"link",
"#",
"animate",
"move",
"(",
"view",
"holder",
"int",
"int",
"int",
"int",
")",
"animate",
"move",
"(",
")",
"}",
"{",
"@",
"link",
"#",
"animate",
"remove",
"(",
"view",
"holder",
")",
"animate",
"remove",
"(",
")",
"}",
"and",
"{",
"@",
"link",
"#",
"animate",
"change",
"(",
"view",
"holder",
"view",
"holder",
"int",
"int",
"int",
"int",
")",
"}",
"come",
"in",
"one",
"by",
"one",
"then",
"start",
"the",
"animations",
"together",
"in",
"the",
"later",
"call",
"to",
"{",
"@",
"link",
"#",
"run",
"pending",
"animations",
"(",
")",
"}"
] | [
"public",
"abstract",
"boolean",
"animate",
"change",
"(",
"view",
"holder",
"old",
"holder",
",",
"view",
"holder",
"new",
"holder",
",",
"int",
"from",
"left",
",",
"int",
"from",
"top",
",",
"int",
"to",
"left",
",",
"int",
"to",
"top",
")",
";"
] |
[
"method",
"to",
"be",
"called",
"by",
"subclasses",
"when",
"a",
"remove",
"animation",
"is",
"done"
] | [
"on",
"remove",
"finished",
"(",
"item",
")",
";",
"dispatch",
"animation",
"finished",
"(",
"item",
")",
";"
] |
[
"method",
"to",
"be",
"called",
"by",
"subclasses",
"when",
"a",
"move",
"animation",
"is",
"done"
] | [
"on",
"move",
"finished",
"(",
"item",
")",
";",
"dispatch",
"animation",
"finished",
"(",
"item",
")",
";"
] |
[
"method",
"to",
"be",
"called",
"by",
"subclasses",
"when",
"an",
"add",
"animation",
"is",
"done"
] | [
"on",
"add",
"finished",
"(",
"item",
")",
";",
"dispatch",
"animation",
"finished",
"(",
"item",
")",
";"
] |
[
"method",
"to",
"be",
"called",
"by",
"subclasses",
"when",
"a",
"change",
"animation",
"is",
"done"
] | [
"on",
"change",
"finished",
"(",
"item",
",",
"old",
"item",
")",
";",
"dispatch",
"animation",
"finished",
"(",
"item",
")",
";"
] |
[
"method",
"to",
"be",
"called",
"by",
"subclasses",
"when",
"a",
"remove",
"animation",
"is",
"being",
"started"
] | [
"on",
"remove",
"starting",
"(",
"item",
")",
";"
] |
[
"method",
"to",
"be",
"called",
"by",
"subclasses",
"when",
"a",
"move",
"animation",
"is",
"being",
"started"
] | [
"on",
"move",
"starting",
"(",
"item",
")",
";"
] |
[
"method",
"to",
"be",
"called",
"by",
"subclasses",
"when",
"an",
"add",
"animation",
"is",
"being",
"started"
] | [
"on",
"add",
"starting",
"(",
"item",
")",
";"
] |
[
"method",
"to",
"be",
"called",
"by",
"subclasses",
"when",
"a",
"change",
"animation",
"is",
"being",
"started"
] | [
"on",
"change",
"starting",
"(",
"item",
",",
"old",
"item",
")",
";"
] |
[
"called",
"when",
"a",
"remove",
"animation",
"has",
"ended",
"on",
"the",
"given",
"view",
"holder",
"the",
"default",
"implementation",
"does",
"nothing",
"subclasses",
"may",
"wish",
"to",
"override",
"this",
"method",
"to",
"handle",
"any",
"view",
"holder",
"-",
"specific",
"operations",
"linked",
"to",
"animation",
"lifecycles"
] | [] |
[
"called",
"when",
"an",
"add",
"animation",
"has",
"ended",
"on",
"the",
"given",
"view",
"holder",
"the",
"default",
"implementation",
"does",
"nothing",
"subclasses",
"may",
"wish",
"to",
"override",
"this",
"method",
"to",
"handle",
"any",
"view",
"holder",
"-",
"specific",
"operations",
"linked",
"to",
"animation",
"lifecycles"
] | [] |
[
"called",
"when",
"a",
"move",
"animation",
"has",
"ended",
"on",
"the",
"given",
"view",
"holder",
"the",
"default",
"implementation",
"does",
"nothing",
"subclasses",
"may",
"wish",
"to",
"override",
"this",
"method",
"to",
"handle",
"any",
"view",
"holder",
"-",
"specific",
"operations",
"linked",
"to",
"animation",
"lifecycles"
] | [] |
[
"called",
"when",
"a",
"change",
"animation",
"has",
"ended",
"on",
"the",
"given",
"view",
"holder",
"the",
"default",
"implementation",
"does",
"nothing",
"subclasses",
"may",
"wish",
"to",
"override",
"this",
"method",
"to",
"handle",
"any",
"view",
"holder",
"-",
"specific",
"operations",
"linked",
"to",
"animation",
"lifecycles"
] | [] |
[
"returns",
"the",
"key",
"s",
"current",
"value",
"and",
"increments",
"the",
"stored",
"value",
"if",
"the",
"key",
"is",
"not",
"in",
"the",
"map",
"default",
"value",
"+",
"increment",
"is",
"put",
"into",
"the",
"map"
] | [
"if",
"(",
"key",
"=",
"=",
"0",
")",
"{",
"if",
"(",
"has",
"zero",
"value",
")",
"{",
"int",
"value",
"=",
"zero",
"value",
";",
"zero",
"value",
"+",
"=",
"increment",
";",
"return",
"value",
";",
"}",
"else",
"{",
"has",
"zero",
"value",
"=",
"true",
";",
"zero",
"value",
"=",
"default",
"value",
"+",
"increment",
";",
"+",
"+",
"size",
";",
"return",
"default",
"value",
";",
"}",
"}",
"int",
"index",
"=",
"key",
"&",
"mask",
";",
"if",
"(",
"key",
"!",
"=",
"key",
"table",
"[",
"index",
"]",
")",
"{",
"index",
"=",
"hash",
"2",
"(",
"key",
")",
";",
"if",
"(",
"key",
"!",
"=",
"key",
"table",
"[",
"index",
"]",
")",
"{",
"index",
"=",
"hash",
"3",
"(",
"key",
")",
";",
"if",
"(",
"key",
"!",
"=",
"key",
"table",
"[",
"index",
"]",
")",
"return",
"get",
"and",
"increment",
"stash",
"(",
"key",
",",
"default",
"value",
",",
"increment",
")",
";",
"}",
"}",
"int",
"value",
"=",
"value",
"table",
"[",
"index",
"]",
";",
"value",
"table",
"[",
"index",
"]",
"=",
"value",
"+",
"increment",
";",
"return",
"value",
";"
] |
[
"returns",
"true",
"if",
"the",
"specified",
"value",
"is",
"in",
"the",
"map",
"note",
"this",
"traverses",
"the",
"entire",
"map",
"and",
"compares",
"every",
"value",
"which",
"may",
"be",
"an",
"expensive",
"operation"
] | [
"if",
"(",
"has",
"zero",
"value",
"&",
"&",
"zero",
"value",
"=",
"=",
"value",
")",
"return",
"true",
";",
"int",
"[",
"]",
"key",
"table",
"=",
"this",
"key",
"table",
",",
"value",
"table",
"=",
"this",
"value",
"table",
";",
"for",
"(",
"int",
"i",
"=",
"capacity",
"+",
"stash",
"size",
";",
"i",
"-",
"-",
">",
"0",
";",
")",
"if",
"(",
"key",
"table",
"[",
"i",
"]",
"!",
"=",
"0",
"&",
"&",
"value",
"table",
"[",
"i",
"]",
"=",
"=",
"value",
")",
"return",
"true",
";",
"return",
"false",
";"
] |
[
"returns",
"the",
"key",
"for",
"the",
"specified",
"value",
"or",
"null",
"if",
"it",
"is",
"not",
"in",
"the",
"map",
"note",
"this",
"traverses",
"the",
"entire",
"map",
"and",
"compares",
"every",
"value",
"which",
"may",
"be",
"an",
"expensive",
"operation"
] | [
"if",
"(",
"has",
"zero",
"value",
"&",
"&",
"zero",
"value",
"=",
"=",
"value",
")",
"return",
"0",
";",
"int",
"[",
"]",
"key",
"table",
"=",
"this",
"key",
"table",
",",
"value",
"table",
"=",
"this",
"value",
"table",
";",
"for",
"(",
"int",
"i",
"=",
"capacity",
"+",
"stash",
"size",
";",
"i",
"-",
"-",
">",
"0",
";",
")",
"if",
"(",
"key",
"table",
"[",
"i",
"]",
"!",
"=",
"0",
"&",
"&",
"value",
"table",
"[",
"i",
"]",
"=",
"=",
"value",
")",
"return",
"key",
"table",
"[",
"i",
"]",
";",
"return",
"not",
"found",
";"
] |
[
"returns",
"the",
"list",
"of",
"subfolders",
"after",
"the",
"refresh",
"in",
"a",
"{",
"@",
"link",
"pair",
"}",
"with",
"a",
"boolean",
"indicating",
"if",
"was",
"detected",
"as",
"changed",
"in",
"the",
"server",
"or",
"not"
] | [
"return",
"m",
"folders",
"to",
"visit",
";"
] |
[
"compares",
"stored",
"e",
"tag",
"of",
"folder",
"being",
"synchronized",
"to",
"determine",
"if",
"there",
"were",
"changes",
"in",
"the",
"server",
"from",
"the",
"last",
"sync"
] | [
"return",
"(",
"!",
"m",
"local",
"folder",
"get",
"tree",
"etag",
"(",
")",
"equals",
"(",
"remote",
"folder",
"get",
"etag",
"(",
")",
")",
")",
";"
] |
[
"cancel",
"operation"
] | [
"m",
"cancellation",
"requested",
"set",
"(",
"true",
")",
";"
] |
[
"checks",
"the",
"last",
"upload",
"of",
"a",
"file",
"and",
"determines",
"if",
"automated",
"synchronization",
"needs",
"to",
"wait",
"for",
"user",
"action",
"or",
"not"
] | [
"uploads",
"storage",
"manager",
"uploads",
"storage",
"manager",
"=",
"new",
"uploads",
"storage",
"manager",
"(",
"m",
"context",
"get",
"content",
"resolver",
"(",
")",
")",
";",
"o",
"c",
"upload",
"failed",
"upload",
"=",
"uploads",
"storage",
"manager",
"get",
"last",
"upload",
"for",
"(",
"file",
",",
"m",
"account",
"name",
")",
";",
"if",
"(",
"failed",
"upload",
"!",
"=",
"null",
")",
"{",
"switch",
"(",
"failed",
"upload",
"get",
"last",
"result",
"(",
")",
")",
"{",
"case",
"credential",
"error",
":",
"case",
"folder",
"error",
":",
"case",
"file",
"not",
"found",
":",
"case",
"file",
"error",
":",
"case",
"priviledges",
"error",
":",
"case",
"conflict",
"error",
":",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"<",
"p",
">",
"the",
"minimum",
"value",
"of",
"the",
"duration",
"range",
"must",
"be",
"greater",
"than",
"zero",
"<",
"/",
"p",
">"
] | [
"this",
"min",
"seconds",
"=",
"min",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"minimum",
"value",
"of",
"the",
"duration",
"range",
"must",
"be",
"greater",
"than",
"zero",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"min",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"minimum",
"value",
"of",
"the",
"duration",
"range",
"must",
"be",
"greater",
"than",
"zero",
"<",
"/",
"p",
">"
] | [
"set",
"min",
"seconds",
"(",
"min",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"value",
"of",
"the",
"duration",
"range",
"must",
"be",
"less",
"than",
"or",
"equal",
"to",
"604800",
"seconds",
"(",
"1",
"week",
")",
"<",
"/",
"p",
">"
] | [
"this",
"max",
"seconds",
"=",
"max",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"value",
"of",
"the",
"duration",
"range",
"must",
"be",
"less",
"than",
"or",
"equal",
"to",
"604800",
"seconds",
"(",
"1",
"week",
")",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"max",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"value",
"of",
"the",
"duration",
"range",
"must",
"be",
"less",
"than",
"or",
"equal",
"to",
"604800",
"seconds",
"(",
"1",
"week",
")",
"<",
"/",
"p",
">"
] | [
"set",
"max",
"seconds",
"(",
"max",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"gets",
"the",
"current",
"filter",
"for",
"this",
"fragment",
"which",
"will",
"be",
"called",
"for",
"each",
"graph",
"object",
"returned",
"from",
"the",
"service",
"to",
"determine",
"if",
"it",
"should",
"be",
"displayed",
"in",
"the",
"list",
"if",
"no",
"filter",
"is",
"specified",
"all",
"retrieved",
"graph",
"objects",
"will",
"be",
"displayed"
] | [
"return",
"filter",
";"
] |
[
"sets",
"the",
"current",
"filter",
"for",
"this",
"fragment",
"which",
"will",
"be",
"called",
"for",
"each",
"graph",
"object",
"returned",
"from",
"the",
"service",
"to",
"determine",
"if",
"it",
"should",
"be",
"displayed",
"in",
"the",
"list",
"if",
"no",
"filter",
"is",
"specified",
"all",
"retrieved",
"graph",
"objects",
"will",
"be",
"displayed"
] | [
"this",
"filter",
"=",
"filter",
";"
] |
[
"causes",
"the",
"picker",
"to",
"load",
"data",
"from",
"the",
"service",
"and",
"display",
"it",
"to",
"the",
"user"
] | [
"if",
"(",
"!",
"force",
"reload",
"&",
"&",
"loading",
"strategy",
"is",
"data",
"present",
"or",
"loading",
"(",
")",
")",
"{",
"return",
";",
"}",
"selection",
"hint",
"=",
"select",
"ids",
";",
"clear",
"results",
"(",
")",
";",
"graph",
"request",
"request",
"=",
"get",
"request",
"for",
"load",
"data",
"(",
")",
";",
"if",
"(",
"request",
"!",
"=",
"null",
")",
"{",
"on",
"loading",
"data",
"(",
")",
";",
"loading",
"strategy",
"start",
"loading",
"(",
"request",
")",
";",
"}"
] |
[
"only",
"used",
"for",
"test"
] | [
"store",
"schema",
"version",
"(",
"version",
")",
";"
] |
[
"returns",
"a",
"copy",
"of",
"this",
"configuration"
] | [
"try",
"{",
"return",
"(",
"jms",
"configuration",
")",
"clone",
"(",
")",
";",
"}",
"catch",
"(",
"clone",
"not",
"supported",
"exception",
"e",
")",
"{",
"throw",
"new",
"runtime",
"camel",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"whether",
"the",
"{"
] | [
"return",
"allow",
"reply",
"manager",
"quick",
"stop",
";"
] |
[
"sets",
"the",
"jms",
"client",
"id",
"to",
"use",
"note",
"that",
"this",
"value",
"if",
"specified",
"must",
"be",
"unique",
"and",
"can",
"only",
"be",
"used",
"by",
"a",
"single",
"jms",
"connection",
"instance",
"it",
"is",
"typically",
"only",
"required",
"for",
"durable",
"topic",
"subscriptions",
"<",
"p",
">",
"if",
"using",
"apache",
"active",
"m",
"q",
"you",
"may",
"prefer",
"to",
"use",
"virtual",
"topics",
"instead"
] | [
"this",
"client",
"id",
"=",
"consumer",
"client",
"id",
";"
] |
[
"the",
"jms",
"acknowledgement",
"name",
"which",
"is",
"one",
"of",
":",
"session",
"transacted",
"client",
"acknowledge",
"auto",
"acknowledge",
"dups",
"ok",
"acknowledge"
] | [
"this",
"acknowledgement",
"mode",
"name",
"=",
"consumer",
"acknowledgement",
"mode",
";",
"this",
"acknowledgement",
"mode",
"=",
"-",
"1",
";"
] |
[
"specifies",
"the",
"default",
"number",
"of",
"concurrent",
"consumers",
"when",
"doing",
"request",
"/",
"reply",
"over",
"jms",
"see",
"also",
"the",
"max",
"messages",
"per",
"task",
"option",
"to",
"control",
"dynamic",
"scaling",
"up",
"/",
"down",
"of",
"threads"
] | [
"this",
"reply",
"to",
"concurrent",
"consumers",
"=",
"reply",
"to",
"concurrent",
"consumers",
";"
] |
[
"the",
"number",
"of",
"messages",
"per",
"task",
"-",
"1",
"is",
"unlimited",
"if",
"you",
"use",
"a",
"range",
"for",
"concurrent",
"consumers",
"(",
"eg",
"min",
"<",
"max",
")",
"then",
"this",
"option",
"can",
"be",
"used",
"to",
"set",
"a",
"value",
"to",
"eg",
"100",
"to",
"control",
"how",
"fast",
"the",
"consumers",
"will",
"shrink",
"when",
"less",
"work",
"is",
"required"
] | [
"this",
"max",
"messages",
"per",
"task",
"=",
"max",
"messages",
"per",
"task",
";"
] |
[
"specify",
"the",
"level",
"of",
"caching",
"that",
"this",
"listener",
"container",
"is",
"allowed",
"to",
"apply",
"<",
"p",
">",
"default",
"is",
"{"
] | [
"this",
"cache",
"level",
"=",
"cache",
"level",
";"
] |
[
"sets",
"the",
"cache",
"level",
"by",
"name",
"for",
"the",
"underlying",
"jms",
"resources",
"possible",
"values",
"are",
":",
"cache",
"auto",
"cache",
"connection",
"cache",
"consumer",
"cache",
"none",
"and",
"cache",
"session",
"the",
"default",
"setting",
"is",
"cache",
"auto",
"see",
"the",
"spring",
"documentation",
"and",
"transactions",
"cache",
"levels",
"for",
"more",
"information"
] | [
"this",
"cache",
"level",
"name",
"=",
"cache",
"name",
";"
] |
[
"specifies",
"the",
"interval",
"between",
"recovery",
"attempts",
"i",
"e",
"when",
"a",
"connection",
"is",
"being",
"refreshed",
"in",
"milliseconds",
"the",
"default",
"is",
"5000",
"ms",
"that",
"is",
"5",
"seconds"
] | [
"this",
"recovery",
"interval",
"=",
"recovery",
"interval",
";"
] |
[
"specifies",
"the",
"limit",
"for",
"idle",
"executions",
"of",
"a",
"receive",
"task",
"not",
"having",
"received",
"any",
"message",
"within",
"its",
"execution",
"if",
"this",
"limit",
"is",
"reached",
"the",
"task",
"will",
"shut",
"down",
"and",
"leave",
"receiving",
"to",
"other",
"executing",
"tasks",
"(",
"in",
"the",
"case",
"of",
"dynamic",
"scheduling",
";",
"see",
"the",
"max",
"concurrent",
"consumers",
"setting",
")",
"there",
"is",
"additional",
"doc",
"available",
"from",
"spring"
] | [
"this",
"idle",
"task",
"execution",
"limit",
"=",
"idle",
"task",
"execution",
"limit",
";"
] |
[
"specify",
"the",
"limit",
"for",
"the",
"number",
"of",
"consumers",
"that",
"are",
"allowed",
"to",
"be",
"idle",
"at",
"any",
"given",
"time"
] | [
"this",
"idle",
"consumer",
"limit",
"=",
"idle",
"consumer",
"limit",
";"
] |
[
"number",
"of",
"times",
"to",
"wait",
"for",
"provisional",
"correlation",
"id",
"to",
"be",
"updated",
"to",
"the",
"actual",
"correlation",
"id",
"when",
"doing",
"request",
"/",
"reply",
"over",
"jms",
"and",
"when",
"the",
"option",
"use",
"message",
"i",
"d",
"as",
"correlation",
"i",
"d",
"is",
"enabled"
] | [
"this",
"wait",
"for",
"provision",
"correlation",
"to",
"be",
"updated",
"counter",
"=",
"counter",
";"
] |
[
"interval",
"in",
"millis",
"to",
"sleep",
"each",
"time",
"while",
"waiting",
"for",
"provisional",
"correlation",
"id",
"to",
"be",
"updated"
] | [
"this",
"wait",
"for",
"provision",
"correlation",
"to",
"be",
"updated",
"thread",
"sleeping",
"time",
"=",
"sleeping",
"time",
";"
] |
[
"specifies",
"the",
"maximum",
"number",
"of",
"concurrent",
"consumers",
"when",
"using",
"request",
"/",
"reply",
"over",
"jms",
"see",
"also",
"the",
"max",
"messages",
"per",
"task",
"option",
"to",
"control",
"dynamic",
"scaling",
"up",
"/",
"down",
"of",
"threads"
] | [
"this",
"reply",
"to",
"max",
"concurrent",
"consumers",
"=",
"reply",
"to",
"max",
"concurrent",
"consumers",
";"
] |
[
"specifies",
"the",
"maximum",
"number",
"of",
"concurrent",
"consumers",
"for",
"continue",
"routing",
"when",
"timeout",
"occurred",
"when",
"using",
"request",
"/",
"reply",
"over",
"jms"
] | [
"this",
"reply",
"to",
"on",
"timeout",
"max",
"concurrent",
"consumers",
"=",
"reply",
"to",
"on",
"timeout",
"max",
"concurrent",
"consumers",
";"
] |
[
"specifies",
"whether",
"persistent",
"delivery",
"is",
"used",
"by",
"default"
] | [
"this",
"delivery",
"persistent",
"=",
"delivery",
"persistent",
";",
"configured",
"qo",
"s",
"(",
")",
";"
] |
[
"specifies",
"the",
"delivery",
"mode",
"to",
"be",
"used",
"possibles",
"values",
"are",
"those",
"defined",
"by",
"javax",
"jms",
"delivery",
"mode",
"non",
"persistent",
"=",
"1",
"and",
"persistent",
"=",
"2"
] | [
"this",
"delivery",
"mode",
"=",
"delivery",
"mode",
";",
"configured",
"qo",
"s",
"(",
")",
";"
] |
[
"specifies",
"whether",
"to",
"use",
"persistent",
"delivery",
"by",
"default",
"for",
"replies"
] | [
"this",
"reply",
"to",
"delivery",
"persistent",
"=",
"reply",
"to",
"delivery",
"persistent",
";"
] |
[
"when",
"sending",
"messages",
"specifies",
"the",
"time",
"-",
"to",
"-",
"live",
"of",
"the",
"message",
"(",
"in",
"milliseconds",
")"
] | [
"this",
"time",
"to",
"live",
"=",
"time",
"to",
"live",
";",
"configured",
"qo",
"s",
"(",
")",
";"
] |
[
"values",
"greater",
"than",
"1",
"specify",
"the",
"message",
"priority",
"when",
"sending",
"(",
"where",
"0",
"is",
"the",
"lowest",
"priority",
"and",
"9",
"is",
"the",
"highest",
")",
"the",
"explicit",
"qos",
"enabled",
"option",
"must",
"also",
"be",
"enabled",
"in",
"order",
"for",
"this",
"option",
"to",
"have",
"any",
"effect"
] | [
"this",
"priority",
"=",
"priority",
";",
"configured",
"qo",
"s",
"(",
")",
";"
] |
[
"the",
"jms",
"acknowledgement",
"mode",
"defined",
"as",
"an",
"integer",
"allows",
"you",
"to",
"set",
"vendor",
"-",
"specific",
"extensions",
"to",
"the",
"acknowledgment",
"mode",
"for",
"the",
"regular",
"modes",
"it",
"is",
"preferable",
"to",
"use",
"the",
"acknowledgement",
"mode",
"name",
"instead"
] | [
"this",
"acknowledgement",
"mode",
"=",
"consumer",
"acknowledgement",
"mode",
";",
"this",
"acknowledgement",
"mode",
"name",
"=",
"null",
";"
] |
[
"specifies",
"whether",
"to",
"use",
"transacted",
"mode"
] | [
"this",
"transacted",
"=",
"consumer",
"transacted",
";"
] |
[
"should",
"in",
"out",
"operations",
"(",
"request",
"reply",
")",
"default",
"to",
"using",
"transacted",
"mode",
"?",
"<",
"p",
">",
"by",
"default",
"this",
"is",
"false",
"as",
"you",
"need",
"to",
"commit",
"the",
"outgoing",
"request",
"before",
"you",
"can",
"consume",
"the",
"input"
] | [
"return",
"transacted",
"in",
"out",
";"
] |
[
"if",
"true",
"camel",
"will",
"create",
"a",
"jms",
"transaction",
"manager",
"if",
"there",
"is",
"no",
"transaction",
"manager",
"injected",
"when",
"option",
"transacted",
"=",
"true"
] | [
"this",
"lazy",
"create",
"transaction",
"manager",
"=",
"lazy",
"creating",
";"
] |
[
"allows",
"the",
"reply",
"-",
"to",
"behaviour",
"to",
"be",
"disabled"
] | [
"this",
"disable",
"reply",
"to",
"=",
"disable",
"reply",
"to",
";"
] |
[
"set",
"to",
"true",
"if",
"you",
"want",
"to",
"send",
"message",
"using",
"the",
"qo",
"s",
"settings",
"specified",
"on",
"the",
"message",
"instead",
"of",
"the",
"qo",
"s",
"settings",
"on",
"the",
"jms",
"endpoint",
"the",
"following",
"three",
"headers",
"are",
"considered",
"j",
"m",
"s",
"priority",
"j",
"m",
"s",
"delivery",
"mode",
"and",
"j",
"m",
"s",
"expiration",
"you",
"can",
"provide",
"all",
"or",
"only",
"some",
"of",
"them",
"if",
"not",
"provided",
"camel",
"will",
"fall",
"back",
"to",
"use",
"the",
"values",
"from",
"the",
"endpoint",
"instead",
"so",
"when",
"using",
"this",
"option",
"the",
"headers",
"override",
"the",
"values",
"from",
"the",
"endpoint",
"the",
"explicit",
"qos",
"enabled",
"option",
"by",
"contrast",
"will",
"only",
"use",
"options",
"set",
"on",
"the",
"endpoint",
"and",
"not",
"values",
"from",
"the",
"message",
"header"
] | [
"this",
"preserve",
"message",
"qos",
"=",
"preserve",
"message",
"qos",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"return",
"new",
"destination",
"resolver",
"(",
")",
"{",
"public",
"destination",
"resolve",
"destination",
"name",
"(",
"session",
"session",
",",
"string",
"destination",
"name",
",",
"boolean",
"pub",
"sub",
"domain",
")",
"throws",
"j",
"m",
"s",
"exception",
"{",
"return",
"destination",
"endpoint",
"get",
"jms",
"destination",
"(",
"session",
")",
";",
"}",
"}",
";"
] |
[
"defaults",
"the",
"jms",
"cache",
"level",
"if",
"none",
"is",
"explicitly",
"specified",
"<",
"p",
">",
"will",
"return",
"<",
"tt",
">",
"cache",
"auto",
"<",
"/",
"tt",
">",
"which",
"will",
"pickup",
"and",
"use",
"<",
"tt",
">",
"cache",
"none",
"<",
"/",
"tt",
">",
"if",
"transacted",
"has",
"been",
"enabled",
"otherwise",
"it",
"will",
"use",
"<",
"tt",
">",
"cache",
"consumer",
"<",
"/",
"tt",
">",
"which",
"is",
"the",
"most",
"efficient"
] | [
"return",
"default",
"message",
"listener",
"container",
"cache",
"auto",
";"
] |
[
"factory",
"method",
"which",
"allows",
"derived",
"classes",
"to",
"customize",
"the",
"lazy",
"creation"
] | [
"return",
"get",
"connection",
"factory",
"(",
")",
";"
] |
[
"factory",
"method",
"which",
"allows",
"derived",
"classes",
"to",
"customize",
"the",
"lazy",
"creation"
] | [
"return",
"get",
"connection",
"factory",
"(",
")",
";"
] |
[
"factory",
"method",
"which",
"which",
"allows",
"derived",
"classes",
"to",
"customize",
"the",
"lazy",
"transaction",
"manager",
"creation"
] | [
"jms",
"transaction",
"manager",
"answer",
"=",
"new",
"jms",
"transaction",
"manager",
"(",
")",
";",
"answer",
"set",
"connection",
"factory",
"(",
"get",
"connection",
"factory",
"(",
")",
")",
";",
"return",
"answer",
";"
] |
[
"when",
"one",
"of",
"the",
"qo",
"s",
"properties",
"are",
"configured",
"such",
"as",
"{"
] | [
"if",
"(",
"explicit",
"qos",
"enabled",
"=",
"=",
"null",
")",
"{",
"explicit",
"qos",
"enabled",
"=",
"true",
";",
"}"
] |
[
"if",
"true",
"camel",
"will",
"always",
"make",
"a",
"jms",
"message",
"copy",
"of",
"the",
"message",
"when",
"it",
"is",
"passed",
"to",
"the",
"producer",
"for",
"sending",
"copying",
"the",
"message",
"is",
"needed",
"in",
"some",
"situations",
"such",
"as",
"when",
"a",
"reply",
"to",
"destination",
"selector",
"name",
"is",
"set",
"(",
"incidentally",
"camel",
"will",
"set",
"the",
"always",
"copy",
"message",
"option",
"to",
"true",
"if",
"a",
"reply",
"to",
"destination",
"selector",
"name",
"is",
"set",
")"
] | [
"this",
"always",
"copy",
"message",
"=",
"always",
"copy",
"message",
";"
] |
[
"specifies",
"whether",
"j",
"m",
"s",
"message",
"i",
"d",
"should",
"always",
"be",
"used",
"as",
"j",
"m",
"s",
"correlation",
"i",
"d",
"for",
"in",
"out",
"messages"
] | [
"this",
"use",
"message",
"i",
"d",
"as",
"correlation",
"i",
"d",
"=",
"use",
"message",
"i",
"d",
"as",
"correlation",
"i",
"d",
";"
] |
[
"provides",
"an",
"explicit",
"reply",
"to",
"destination",
"which",
"overrides",
"any",
"incoming",
"value",
"of",
"message",
"get",
"j",
"m",
"s",
"reply",
"to",
"(",
")"
] | [
"this",
"reply",
"to",
"=",
"normalize",
"destination",
"name",
"(",
"reply",
"to",
"destination",
")",
";"
] |
[
"provides",
"an",
"explicit",
"reply",
"to",
"destination",
"in",
"the",
"jms",
"message",
"which",
"overrides",
"the",
"setting",
"of",
"reply",
"to",
"it",
"is",
"useful",
"if",
"you",
"want",
"to",
"forward",
"the",
"message",
"to",
"a",
"remote",
"queue",
"and",
"receive",
"the",
"reply",
"message",
"from",
"the",
"reply",
"to",
"destination"
] | [
"this",
"reply",
"to",
"override",
"=",
"normalize",
"destination",
"name",
"(",
"reply",
"to",
"destination",
")",
";"
] |
[
"whether",
"a",
"jms",
"consumer",
"is",
"allowed",
"to",
"send",
"a",
"reply",
"message",
"to",
"the",
"same",
"destination",
"that",
"the",
"consumer",
"is",
"using",
"to",
"consume",
"from",
"this",
"prevents",
"an",
"endless",
"loop",
"by",
"consuming",
"and",
"sending",
"back",
"the",
"same",
"message",
"to",
"itself"
] | [
"this",
"reply",
"to",
"same",
"destination",
"allowed",
"=",
"reply",
"to",
"same",
"destination",
"allowed",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.