docstring_tokens
list | code_tokens
list |
---|---|
[
"do",
"we",
"need",
"view",
"name",
"translation",
"?"
] |
[
"if",
"(",
"mv",
"!",
"=",
"null",
"&",
"&",
"!",
"mv",
"has",
"view",
"(",
")",
")",
"{",
"string",
"default",
"view",
"name",
"=",
"get",
"default",
"view",
"name",
"(",
"request",
")",
";",
"if",
"(",
"default",
"view",
"name",
"!",
"=",
"null",
")",
"{",
"mv",
"set",
"view",
"name",
"(",
"default",
"view",
"name",
")",
";",
"}",
"}"
] |
[
"build",
"a",
"locale",
"context",
"for",
"the",
"given",
"request",
"exposing",
"the",
"request",
"s",
"primary",
"locale",
"as",
"current",
"locale",
"<",
"p",
">",
"the",
"default",
"implementation",
"uses",
"the",
"dispatcher",
"s",
"locale",
"resolver",
"to",
"obtain",
"the",
"current",
"locale",
"which",
"might",
"change",
"during",
"a",
"request"
] |
[
"locale",
"resolver",
"lr",
"=",
"this",
"locale",
"resolver",
";",
"if",
"(",
"lr",
"instanceof",
"locale",
"context",
"resolver",
")",
"{",
"return",
"(",
"(",
"locale",
"context",
"resolver",
")",
"lr",
")",
"resolve",
"locale",
"context",
"(",
"request",
")",
";",
"}",
"else",
"{",
"return",
"(",
")",
"-",
">",
"(",
"lr",
"!",
"=",
"null",
"?",
"lr",
"resolve",
"locale",
"(",
"request",
")",
":",
"request",
"get",
"locale",
"(",
")",
")",
";",
"}"
] |
[
"check",
"javax",
"servlet",
"error",
"exception",
"attribute",
"for",
"a",
"multipart",
"exception"
] |
[
"throwable",
"error",
"=",
"(",
"throwable",
")",
"request",
"get",
"attribute",
"(",
"web",
"utils",
"error",
"exception",
"attribute",
")",
";",
"while",
"(",
"error",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"error",
"instanceof",
"multipart",
"exception",
")",
"{",
"return",
"true",
";",
"}",
"error",
"=",
"error",
"get",
"cause",
"(",
")",
";",
"}",
"return",
"false",
";"
] |
[
"clean",
"up",
"any",
"resources",
"used",
"by",
"the",
"given",
"multipart",
"request",
"(",
"if",
"any",
")"
] |
[
"if",
"(",
"this",
"multipart",
"resolver",
"!",
"=",
"null",
")",
"{",
"multipart",
"http",
"servlet",
"request",
"multipart",
"request",
"=",
"web",
"utils",
"get",
"native",
"request",
"(",
"request",
",",
"multipart",
"http",
"servlet",
"request",
"class",
")",
";",
"if",
"(",
"multipart",
"request",
"!",
"=",
"null",
")",
"{",
"this",
"multipart",
"resolver",
"cleanup",
"multipart",
"(",
"multipart",
"request",
")",
";",
"}",
"}"
] |
[
"return",
"the",
"handler",
"execution",
"chain",
"for",
"this",
"request",
"<",
"p",
">",
"tries",
"all",
"handler",
"mappings",
"in",
"order"
] |
[
"if",
"(",
"this",
"handler",
"mappings",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"handler",
"mapping",
"mapping",
":",
"this",
"handler",
"mappings",
")",
"{",
"handler",
"execution",
"chain",
"handler",
"=",
"mapping",
"get",
"handler",
"(",
"request",
")",
";",
"if",
"(",
"handler",
"!",
"=",
"null",
")",
"{",
"return",
"handler",
";",
"}",
"}",
"}",
"return",
"null",
";"
] |
[
"translate",
"the",
"supplied",
"request",
"into",
"a",
"default",
"view",
"name"
] |
[
"return",
"(",
"this",
"view",
"name",
"translator",
"!",
"=",
"null",
"?",
"this",
"view",
"name",
"translator",
"get",
"view",
"name",
"(",
"request",
")",
":",
"null",
")",
";"
] |
[
"resolve",
"the",
"given",
"view",
"name",
"into",
"a",
"view",
"object",
"(",
"to",
"be",
"rendered",
")",
"<",
"p",
">",
"the",
"default",
"implementations",
"asks",
"all",
"view",
"resolvers",
"of",
"this",
"dispatcher",
"can",
"be",
"overridden",
"for",
"custom",
"resolution",
"strategies",
"potentially",
"based",
"on",
"specific",
"model",
"attributes",
"or",
"request",
"parameters"
] |
[
"if",
"(",
"this",
"view",
"resolvers",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"view",
"resolver",
"view",
"resolver",
":",
"this",
"view",
"resolvers",
")",
"{",
"view",
"view",
"=",
"view",
"resolver",
"resolve",
"view",
"name",
"(",
"view",
"name",
",",
"locale",
")",
";",
"if",
"(",
"view",
"!",
"=",
"null",
")",
"{",
"return",
"view",
";",
"}",
"}",
"}",
"return",
"null",
";"
] |
[
"creates",
"arguments",
"holder",
"with",
"required",
"parameters"
] |
[
"return",
"new",
"attach",
"container",
"params",
"(",
")",
"with",
"container",
"(",
"container",
")",
";"
] |
[
"adds",
"container",
"to",
"this",
"parameters"
] |
[
"require",
"non",
"null",
"(",
"container",
")",
";",
"this",
"container",
"=",
"container",
";",
"return",
"this",
";"
] |
[
"flag",
"for",
"getting",
"output",
"stream",
"from",
"a",
"container"
] |
[
"this",
"stream",
"=",
"stream",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"message",
"identifier",
"returned",
"from",
"the",
"<",
"code",
">",
"send",
"custom",
"verification",
"email",
"<",
"/",
"code",
">",
"operation",
"<",
"/",
"p",
">"
] |
[
"set",
"message",
"id",
"(",
"message",
"id",
")",
";",
"return",
"this",
";"
] |
[
"call",
"this",
"will",
"throw",
"an",
"exception",
"if",
"operation",
"was",
"cancelled",
"override",
"{"
] |
[
"if",
"(",
"is",
"cancelled",
"(",
")",
")",
"{",
"on",
"cancel",
"(",
"reason",
",",
"null",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"db",
"cluster",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"be",
"the",
"name",
"of",
"an",
"existing",
"db",
"cluster",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"you",
"can",
"t",
"delete",
"a",
"default",
"db",
"cluster",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"cannot",
"be",
"associated",
"with",
"any",
"db",
"clusters",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] |
[
"set",
"d",
"b",
"cluster",
"parameter",
"group",
"name",
"(",
"d",
"b",
"cluster",
"parameter",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"associated",
"models",
"collection",
"of",
"associated",
"model",
"break",
"quote",
"of",
"source",
"collection"
] |
[
"set",
"field",
"value",
"(",
"associated",
"model",
",",
"association",
"info",
"get",
"associate",
"self",
"from",
"other",
"model",
"(",
")",
",",
"associated",
"model",
"collection",
")",
";"
] |
[
"check",
"the",
"associated",
"model",
"collection",
"if",
"the",
"associated",
"model",
"collection",
"is",
"null",
"try",
"to",
"initialize",
"the",
"associated",
"model",
"collection",
"by",
"the",
"given",
"associated",
"field",
"if",
"the",
"associated",
"field",
"is",
"subclass",
"of",
"list",
"make",
"an",
"instance",
"of",
"array",
"list",
"for",
"associated",
"model",
"collection",
"if",
"the",
"associated",
"field",
"is",
"subclass",
"of",
"set",
"make",
"an",
"instance",
"of",
"hash",
"set",
"for",
"associated",
"model",
"collection",
"if",
"the",
"associated",
"model",
"collection",
"is",
"not",
"null",
"doing",
"nothing"
] |
[
"collection",
"<",
"lite",
"pal",
"support",
">",
"collection",
"=",
"null",
";",
"if",
"(",
"is",
"list",
"(",
"associated",
"field",
"get",
"type",
"(",
")",
")",
")",
"{",
"collection",
"=",
"new",
"array",
"list",
"<",
"lite",
"pal",
"support",
">",
"(",
")",
";",
"}",
"else",
"if",
"(",
"is",
"set",
"(",
"associated",
"field",
"get",
"type",
"(",
")",
")",
")",
"{",
"collection",
"=",
"new",
"hash",
"set",
"<",
"lite",
"pal",
"support",
">",
"(",
")",
";",
"}",
"else",
"{",
"throw",
"new",
"lite",
"pal",
"support",
"exception",
"(",
"lite",
"pal",
"support",
"exception",
"wrong",
"field",
"type",
"for",
"associations",
")",
";",
"}",
"if",
"(",
"associated",
"model",
"collection",
"!",
"=",
"null",
")",
"{",
"collection",
"add",
"all",
"(",
"associated",
"model",
"collection",
")",
";",
"}",
"return",
"collection",
";"
] |
[
"build",
"the",
"bidirectional",
"association",
"by",
"setting",
"the",
"base",
"obj",
"instance",
"to",
"the",
"associated",
"model"
] |
[
"set",
"field",
"value",
"(",
"associated",
"model",
",",
"association",
"info",
"get",
"associate",
"self",
"from",
"other",
"model",
"(",
")",
",",
"base",
"obj",
")",
";"
] |
[
"if",
"the",
"associated",
"model",
"is",
"saved",
"add",
"its",
"name",
"and",
"id",
"to",
"base",
"obj",
"by",
"calling",
"{",
"@",
"link",
"lite",
"pal",
"support",
"#",
"add",
"associated",
"model",
"with",
"f",
"k",
"(",
"string",
"long",
")",
"}",
"or",
"if",
"the",
"base",
"obj",
"is",
"saved",
"add",
"its",
"name",
"and",
"id",
"to",
"associated",
"model",
"by",
"calling",
"{",
"@",
"link",
"lite",
"pal",
"support",
"#",
"add",
"associated",
"model",
"without",
"f",
"k",
"(",
"string",
"long",
")",
"}"
] |
[
"if",
"(",
"associated",
"model",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"associated",
"model",
"is",
"saved",
"(",
")",
")",
"{",
"base",
"obj",
"add",
"associated",
"model",
"with",
"f",
"k",
"(",
"associated",
"model",
"get",
"table",
"name",
"(",
")",
",",
"associated",
"model",
"get",
"base",
"obj",
"id",
"(",
")",
")",
";",
"}",
"else",
"{",
"if",
"(",
"base",
"obj",
"is",
"saved",
"(",
")",
")",
"{",
"associated",
"model",
"add",
"associated",
"model",
"without",
"f",
"k",
"(",
"base",
"obj",
"get",
"table",
"name",
"(",
")",
",",
"base",
"obj",
"get",
"base",
"obj",
"id",
"(",
")",
")",
";",
"}",
"}",
"}"
] |
[
"if",
"the",
"associated",
"model",
"of",
"self",
"model",
"is",
"null",
"the",
"fk",
"value",
"in",
"database",
"should",
"be",
"cleared",
"if",
"it",
"exists",
"when",
"updating"
] |
[
"base",
"obj",
"add",
"f",
"k",
"name",
"to",
"clear",
"self",
"(",
"get",
"foreign",
"key",
"name",
"(",
"association",
"info",
")",
")",
";"
] |
[
"get",
"foreign",
"key",
"name",
"by",
"{",
"@",
"link",
"org",
"litepal",
"crud",
"model",
"associations",
"info",
"}"
] |
[
"return",
"get",
"foreign",
"key",
"column",
"name",
"(",
"d",
"b",
"utility",
"get",
"table",
"name",
"by",
"class",
"name",
"(",
"association",
"info",
"get",
"associated",
"class",
"name",
"(",
")",
")",
")",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"the",
"available",
"network",
"profiles",
"<",
"/",
"p",
">"
] |
[
"this",
"network",
"profile",
"=",
"network",
"profile",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"the",
"available",
"network",
"profiles",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"network",
"profile",
";"
] |
[
"<",
"p",
">",
"the",
"network",
"profile",
"<",
"/",
"p",
">"
] |
[
"set",
"network",
"profile",
"(",
"network",
"profile",
")",
";",
"return",
"this",
";"
] |
[
"override",
"this",
"to",
"add",
"an",
"item",
"to",
"the",
"menu"
] |
[
"return",
"null",
";"
] |
[
"override",
"this",
"to",
"set",
"the",
"parameters",
"for",
"the",
"scenario",
"call",
"through",
"to",
"super",
"first"
] |
[] |
[
"requests",
"an",
"action",
"start",
"observe",
"command",
"to",
"(",
"re",
")",
"initialize",
"the",
"observer",
"service"
] |
[
"intent",
"i",
"=",
"new",
"intent",
"(",
"context",
",",
"file",
"observer",
"service",
"class",
")",
";",
"i",
"set",
"action",
"(",
"action",
"start",
"observe",
")",
";",
"context",
"start",
"service",
"(",
"i",
")",
";"
] |
[
"requests",
"to",
"start",
"or",
"stop",
"the",
"observance",
"of",
"a",
"given",
"file"
] |
[
"intent",
"intent",
"=",
"new",
"intent",
"(",
"context",
",",
"file",
"observer",
"service",
"class",
")",
";",
"intent",
"set",
"action",
"(",
"watch",
"it",
"?",
"file",
"observer",
"service",
"action",
"add",
"observed",
"file",
":",
"file",
"observer",
"service",
"action",
"del",
"observed",
"file",
")",
";",
"intent",
"put",
"extra",
"(",
"file",
"observer",
"service",
"arg",
"file",
",",
"file",
")",
";",
"intent",
"put",
"extra",
"(",
"file",
"observer",
"service",
"arg",
"account",
",",
"account",
")",
";",
"context",
"start",
"service",
"(",
"intent",
")",
";"
] |
[
"takes",
"the",
"result",
"and",
"determines",
"whether",
"the",
"state",
"of",
"the",
"resource",
"matches",
"the",
"expected",
"state",
"to",
"determine",
"the",
"current",
"state",
"of",
"the",
"resource",
"jmes",
"path",
"expression",
"is",
"evaluated",
"and",
"compared",
"against",
"the",
"expected",
"result"
] |
[
"json",
"node",
"query",
"node",
"=",
"object",
"mapper",
"singleton",
"get",
"object",
"mapper",
"(",
")",
"value",
"to",
"tree",
"(",
"result",
")",
";",
"json",
"node",
"final",
"result",
"=",
"ast",
"accept",
"(",
"new",
"jmes",
"path",
"evaluation",
"visitor",
"(",
")",
",",
"query",
"node",
")",
";",
"return",
"acceptor",
"path",
"matcher",
"path",
"(",
"expected",
"result",
",",
"final",
"result",
")",
";"
] |
[
"<",
"p",
">",
"adds",
"or",
"updates",
"tags",
"for",
"the",
"specified",
"kinesis",
"data",
"stream",
"each",
"time",
"you",
"invoke",
"this",
"operation",
"you",
"can",
"specify",
"up",
"to",
"10",
"tags",
"if",
"you",
"want",
"to",
"add",
"more",
"than",
"10",
"tags",
"to",
"your",
"stream",
"you",
"can",
"invoke",
"this",
"operation",
"multiple",
"times",
"in",
"total",
"each",
"stream",
"can",
"have",
"up",
"to",
"50",
"tags",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"tags",
"have",
"already",
"been",
"assigned",
"to",
"the",
"stream",
"<",
"code",
">",
"add",
"tags",
"to",
"stream",
"<",
"/",
"code",
">",
"overwrites",
"any",
"existing",
"tags",
"that",
"correspond",
"to",
"the",
"specified",
"tag",
"keys",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"a",
">",
"add",
"tags",
"to",
"stream",
"<",
"/",
"a",
">",
"has",
"a",
"limit",
"of",
"five",
"transactions",
"per",
"second",
"per",
"account",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"add",
"tags",
"to",
"stream",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"decreases",
"the",
"kinesis",
"data",
"stream",
"s",
"retention",
"period",
"which",
"is",
"the",
"length",
"of",
"time",
"data",
"records",
"are",
"accessible",
"after",
"they",
"are",
"added",
"to",
"the",
"stream",
"the",
"minimum",
"value",
"of",
"a",
"stream",
"s",
"retention",
"period",
"is",
"24",
"hours",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"operation",
"may",
"result",
"in",
"lost",
"data",
"for",
"example",
"if",
"the",
"stream",
"s",
"retention",
"period",
"is",
"48",
"hours",
"and",
"is",
"decreased",
"to",
"24",
"hours",
"any",
"data",
"already",
"in",
"the",
"stream",
"that",
"is",
"older",
"than",
"24",
"hours",
"is",
"inaccessible",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"decrease",
"stream",
"retention",
"period",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"to",
"deregister",
"a",
"consumer",
"provide",
"its",
"arn",
"alternatively",
"you",
"can",
"provide",
"the",
"arn",
"of",
"the",
"data",
"stream",
"and",
"the",
"name",
"you",
"gave",
"the",
"consumer",
"when",
"you",
"registered",
"it",
"you",
"may",
"also",
"provide",
"all",
"three",
"parameters",
"as",
"long",
"as",
"they",
"don",
"t",
"conflict",
"with",
"each",
"other",
"if",
"you",
"don",
"t",
"know",
"the",
"name",
"or",
"arn",
"of",
"the",
"consumer",
"that",
"you",
"want",
"to",
"deregister",
"you",
"can",
"use",
"the",
"<",
"a",
">",
"list",
"stream",
"consumers",
"<",
"/",
"a",
">",
"operation",
"to",
"get",
"a",
"list",
"of",
"the",
"descriptions",
"of",
"all",
"the",
"consumers",
"that",
"are",
"currently",
"registered",
"with",
"a",
"given",
"data",
"stream",
"the",
"description",
"of",
"a",
"consumer",
"contains",
"its",
"name",
"and",
"arn",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"operation",
"has",
"a",
"limit",
"of",
"five",
"transactions",
"per",
"second",
"per",
"account",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"deregister",
"stream",
"consumer",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"to",
"get",
"the",
"description",
"of",
"a",
"registered",
"consumer",
"provide",
"the",
"arn",
"of",
"the",
"consumer",
"alternatively",
"you",
"can",
"provide",
"the",
"arn",
"of",
"the",
"data",
"stream",
"and",
"the",
"name",
"you",
"gave",
"the",
"consumer",
"when",
"you",
"registered",
"it",
"you",
"may",
"also",
"provide",
"all",
"three",
"parameters",
"as",
"long",
"as",
"they",
"don",
"t",
"conflict",
"with",
"each",
"other",
"if",
"you",
"don",
"t",
"know",
"the",
"name",
"or",
"arn",
"of",
"the",
"consumer",
"that",
"you",
"want",
"to",
"describe",
"you",
"can",
"use",
"the",
"<",
"a",
">",
"list",
"stream",
"consumers",
"<",
"/",
"a",
">",
"operation",
"to",
"get",
"a",
"list",
"of",
"the",
"descriptions",
"of",
"all",
"the",
"consumers",
"that",
"are",
"currently",
"registered",
"with",
"a",
"given",
"data",
"stream",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"operation",
"has",
"a",
"limit",
"of",
"20",
"transactions",
"per",
"second",
"per",
"account",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"describe",
"stream",
"consumer",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"provides",
"a",
"summarized",
"description",
"of",
"the",
"specified",
"kinesis",
"data",
"stream",
"without",
"the",
"shard",
"list",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"information",
"returned",
"includes",
"the",
"stream",
"name",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"status",
"record",
"retention",
"period",
"approximate",
"creation",
"time",
"monitoring",
"encryption",
"details",
"and",
"open",
"shard",
"count",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"describe",
"stream",
"summary",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"disables",
"enhanced",
"monitoring",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"disable",
"enhanced",
"monitoring",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"enables",
"enhanced",
"kinesis",
"data",
"stream",
"monitoring",
"for",
"shard",
"-",
"level",
"metrics",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"enable",
"enhanced",
"monitoring",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"increases",
"the",
"kinesis",
"data",
"stream",
"s",
"retention",
"period",
"which",
"is",
"the",
"length",
"of",
"time",
"data",
"records",
"are",
"accessible",
"after",
"they",
"are",
"added",
"to",
"the",
"stream",
"the",
"maximum",
"value",
"of",
"a",
"stream",
"s",
"retention",
"period",
"is",
"168",
"hours",
"(",
"7",
"days",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"choose",
"a",
"longer",
"stream",
"retention",
"period",
"this",
"operation",
"increases",
"the",
"time",
"period",
"during",
"which",
"records",
"that",
"have",
"not",
"yet",
"expired",
"are",
"accessible",
"however",
"it",
"does",
"not",
"make",
"previous",
"expired",
"data",
"(",
"older",
"than",
"the",
"stream",
"s",
"previous",
"retention",
"period",
")",
"accessible",
"after",
"the",
"operation",
"has",
"been",
"called",
"for",
"example",
"if",
"a",
"stream",
"s",
"retention",
"period",
"is",
"set",
"to",
"24",
"hours",
"and",
"is",
"increased",
"to",
"168",
"hours",
"any",
"data",
"that",
"is",
"older",
"than",
"24",
"hours",
"remains",
"inaccessible",
"to",
"consumer",
"applications",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"increase",
"stream",
"retention",
"period",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"lists",
"the",
"shards",
"in",
"a",
"stream",
"and",
"provides",
"information",
"about",
"each",
"shard",
"this",
"operation",
"has",
"a",
"limit",
"of",
"100",
"transactions",
"per",
"second",
"per",
"data",
"stream",
"<",
"/",
"p",
">",
"<",
"important",
">",
"<",
"p",
">",
"this",
"api",
"is",
"a",
"new",
"operation",
"that",
"is",
"used",
"by",
"the",
"amazon",
"kinesis",
"client",
"library",
"(",
"kcl",
")",
"if",
"you",
"have",
"a",
"fine",
"-",
"grained",
"iam",
"policy",
"that",
"only",
"allows",
"specific",
"operations",
"you",
"must",
"update",
"your",
"policy",
"to",
"allow",
"calls",
"to",
"this",
"api",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"streams",
"/",
"latest",
"/",
"dev",
"/",
"controlling",
"-",
"access",
"html",
">",
"controlling",
"access",
"to",
"amazon",
"kinesis",
"data",
"streams",
"resources",
"using",
"iam",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"/",
"important",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"list",
"shards",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"lists",
"the",
"consumers",
"registered",
"to",
"receive",
"data",
"from",
"a",
"stream",
"using",
"enhanced",
"fan",
"-",
"out",
"and",
"provides",
"information",
"about",
"each",
"consumer",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"operation",
"has",
"a",
"limit",
"of",
"10",
"transactions",
"per",
"second",
"per",
"account",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"list",
"stream",
"consumers",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"merges",
"two",
"adjacent",
"shards",
"in",
"a",
"kinesis",
"data",
"stream",
"and",
"combines",
"them",
"into",
"a",
"single",
"shard",
"to",
"reduce",
"the",
"stream",
"s",
"capacity",
"to",
"ingest",
"and",
"transport",
"data",
"two",
"shards",
"are",
"considered",
"adjacent",
"if",
"the",
"union",
"of",
"the",
"hash",
"key",
"ranges",
"for",
"the",
"two",
"shards",
"form",
"a",
"contiguous",
"set",
"with",
"no",
"gaps",
"for",
"example",
"if",
"you",
"have",
"two",
"shards",
"one",
"with",
"a",
"hash",
"key",
"range",
"of",
"276",
"381",
"and",
"the",
"other",
"with",
"a",
"hash",
"key",
"range",
"of",
"382",
"454",
"then",
"you",
"could",
"merge",
"these",
"two",
"shards",
"into",
"a",
"single",
"shard",
"that",
"would",
"have",
"a",
"hash",
"key",
"range",
"of",
"276",
"454",
"after",
"the",
"merge",
"the",
"single",
"child",
"shard",
"receives",
"data",
"for",
"all",
"hash",
"key",
"values",
"covered",
"by",
"the",
"two",
"parent",
"shards",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"merge",
"shards",
"<",
"/",
"code",
">",
"is",
"called",
"when",
"there",
"is",
"a",
"need",
"to",
"reduce",
"the",
"overall",
"capacity",
"of",
"a",
"stream",
"because",
"of",
"excess",
"capacity",
"that",
"is",
"not",
"being",
"used",
"you",
"must",
"specify",
"the",
"shard",
"to",
"be",
"merged",
"and",
"the",
"adjacent",
"shard",
"for",
"a",
"stream",
"for",
"more",
"information",
"about",
"merging",
"shards",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"kinesis",
"/",
"latest",
"/",
"dev",
"/",
"kinesis",
"-",
"using",
"-",
"sdk",
"-",
"java",
"-",
"resharding",
"-",
"merge",
"html",
">",
"merge",
"two",
"shards",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"kinesis",
"data",
"streams",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"the",
"stream",
"is",
"in",
"the",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"state",
"you",
"can",
"call",
"<",
"code",
">",
"merge",
"shards",
"<",
"/",
"code",
">",
"if",
"a",
"stream",
"is",
"in",
"the",
"<",
"code",
">",
"creating",
"<",
"/",
"code",
">",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"deleting",
"<",
"/",
"code",
">",
"state",
"<",
"code",
">",
"merge",
"shards",
"<",
"/",
"code",
">",
"returns",
"a",
"<",
"code",
">",
"resource",
"in",
"use",
"exception",
"<",
"/",
"code",
">",
"if",
"the",
"specified",
"stream",
"does",
"not",
"exist",
"<",
"code",
">",
"merge",
"shards",
"<",
"/",
"code",
">",
"returns",
"a",
"<",
"code",
">",
"resource",
"not",
"found",
"exception",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"can",
"use",
"<",
"a",
">",
"describe",
"stream",
"<",
"/",
"a",
">",
"to",
"check",
"the",
"state",
"of",
"the",
"stream",
"which",
"is",
"returned",
"in",
"<",
"code",
">",
"stream",
"status",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"merge",
"shards",
"<",
"/",
"code",
">",
"is",
"an",
"asynchronous",
"operation",
"upon",
"receiving",
"a",
"<",
"code",
">",
"merge",
"shards",
"<",
"/",
"code",
">",
"request",
"amazon",
"kinesis",
"data",
"streams",
"immediately",
"returns",
"a",
"response",
"and",
"sets",
"the",
"<",
"code",
">",
"stream",
"status",
"<",
"/",
"code",
">",
"to",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"after",
"the",
"operation",
"is",
"completed",
"kinesis",
"data",
"streams",
"sets",
"the",
"<",
"code",
">",
"stream",
"status",
"<",
"/",
"code",
">",
"to",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"read",
"and",
"write",
"operations",
"continue",
"to",
"work",
"while",
"the",
"stream",
"is",
"in",
"the",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"state",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"use",
"<",
"a",
">",
"describe",
"stream",
"<",
"/",
"a",
">",
"to",
"determine",
"the",
"shard",
"i",
"ds",
"that",
"are",
"specified",
"in",
"the",
"<",
"code",
">",
"merge",
"shards",
"<",
"/",
"code",
">",
"request",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"try",
"to",
"operate",
"on",
"too",
"many",
"streams",
"in",
"parallel",
"using",
"<",
"a",
">",
"create",
"stream",
"<",
"/",
"a",
">",
"<",
"a",
">",
"delete",
"stream",
"<",
"/",
"a",
">",
"<",
"code",
">",
"merge",
"shards",
"<",
"/",
"code",
">",
"or",
"<",
"a",
">",
"split",
"shard",
"<",
"/",
"a",
">",
"you",
"receive",
"a",
"<",
"code",
">",
"limit",
"exceeded",
"exception",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"merge",
"shards",
"<",
"/",
"code",
">",
"has",
"a",
"limit",
"of",
"five",
"transactions",
"per",
"second",
"per",
"account",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"merge",
"shards",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"writes",
"multiple",
"data",
"records",
"into",
"a",
"kinesis",
"data",
"stream",
"in",
"a",
"single",
"call",
"(",
"also",
"referred",
"to",
"as",
"a",
"<",
"code",
">",
"put",
"records",
"<",
"/",
"code",
">",
"request",
")",
"use",
"this",
"operation",
"to",
"send",
"data",
"into",
"the",
"stream",
"for",
"data",
"ingestion",
"and",
"processing",
"<",
"/",
"p",
">",
"<",
"p",
">",
"each",
"<",
"code",
">",
"put",
"records",
"<",
"/",
"code",
">",
"request",
"can",
"support",
"up",
"to",
"500",
"records",
"each",
"record",
"in",
"the",
"request",
"can",
"be",
"as",
"large",
"as",
"1",
"mb",
"up",
"to",
"a",
"limit",
"of",
"5",
"mb",
"for",
"the",
"entire",
"request",
"including",
"partition",
"keys",
"each",
"shard",
"can",
"support",
"writes",
"up",
"to",
"1",
"000",
"records",
"per",
"second",
"up",
"to",
"a",
"maximum",
"data",
"write",
"total",
"of",
"1",
"mb",
"per",
"second",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"must",
"specify",
"the",
"name",
"of",
"the",
"stream",
"that",
"captures",
"stores",
"and",
"transports",
"the",
"data",
";",
"and",
"an",
"array",
"of",
"request",
"<",
"code",
">",
"records",
"<",
"/",
"code",
">",
"with",
"each",
"record",
"in",
"the",
"array",
"requiring",
"a",
"partition",
"key",
"and",
"data",
"blob",
"the",
"record",
"size",
"limit",
"applies",
"to",
"the",
"total",
"size",
"of",
"the",
"partition",
"key",
"and",
"data",
"blob",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"data",
"blob",
"can",
"be",
"any",
"type",
"of",
"data",
";",
"for",
"example",
"a",
"segment",
"from",
"a",
"log",
"file",
"geographic",
"/",
"location",
"data",
"website",
"clickstream",
"data",
"and",
"so",
"on",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"partition",
"key",
"is",
"used",
"by",
"kinesis",
"data",
"streams",
"as",
"input",
"to",
"a",
"hash",
"function",
"that",
"maps",
"the",
"partition",
"key",
"and",
"associated",
"data",
"to",
"a",
"specific",
"shard",
"an",
"md5",
"hash",
"function",
"is",
"used",
"to",
"map",
"partition",
"keys",
"to",
"128",
"-",
"bit",
"integer",
"values",
"and",
"to",
"map",
"associated",
"data",
"records",
"to",
"shards",
"as",
"a",
"result",
"of",
"this",
"hashing",
"mechanism",
"all",
"data",
"records",
"with",
"the",
"same",
"partition",
"key",
"map",
"to",
"the",
"same",
"shard",
"within",
"the",
"stream",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"kinesis",
"/",
"latest",
"/",
"dev",
"/",
"developing",
"-",
"producers",
"-",
"with",
"-",
"sdk",
"html",
"#",
"kinesis",
"-",
"using",
"-",
"sdk",
"-",
"java",
"-",
"add",
"-",
"data",
"-",
"to",
"-",
"stream",
">",
"adding",
"data",
"to",
"a",
"stream",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"kinesis",
"data",
"streams",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"each",
"record",
"in",
"the",
"<",
"code",
">",
"records",
"<",
"/",
"code",
">",
"array",
"may",
"include",
"an",
"optional",
"parameter",
"<",
"code",
">",
"explicit",
"hash",
"key",
"<",
"/",
"code",
">",
"which",
"overrides",
"the",
"partition",
"key",
"to",
"shard",
"mapping",
"this",
"parameter",
"allows",
"a",
"data",
"producer",
"to",
"determine",
"explicitly",
"the",
"shard",
"where",
"the",
"record",
"is",
"stored",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"kinesis",
"/",
"latest",
"/",
"dev",
"/",
"developing",
"-",
"producers",
"-",
"with",
"-",
"sdk",
"html",
"#",
"kinesis",
"-",
"using",
"-",
"sdk",
"-",
"java",
"-",
"putrecords",
">",
"adding",
"multiple",
"records",
"with",
"put",
"records",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"kinesis",
"data",
"streams",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"<",
"code",
">",
"put",
"records",
"<",
"/",
"code",
">",
"response",
"includes",
"an",
"array",
"of",
"response",
"<",
"code",
">",
"records",
"<",
"/",
"code",
">",
"each",
"record",
"in",
"the",
"response",
"array",
"directly",
"correlates",
"with",
"a",
"record",
"in",
"the",
"request",
"array",
"using",
"natural",
"ordering",
"from",
"the",
"top",
"to",
"the",
"bottom",
"of",
"the",
"request",
"and",
"response",
"the",
"response",
"<",
"code",
">",
"records",
"<",
"/",
"code",
">",
"array",
"always",
"includes",
"the",
"same",
"number",
"of",
"records",
"as",
"the",
"request",
"array",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"response",
"<",
"code",
">",
"records",
"<",
"/",
"code",
">",
"array",
"includes",
"both",
"successfully",
"and",
"unsuccessfully",
"processed",
"records",
"kinesis",
"data",
"streams",
"attempts",
"to",
"process",
"all",
"records",
"in",
"each",
"<",
"code",
">",
"put",
"records",
"<",
"/",
"code",
">",
"request",
"a",
"single",
"record",
"failure",
"does",
"not",
"stop",
"the",
"processing",
"of",
"subsequent",
"records",
"<",
"/",
"p",
">",
"<",
"p",
">",
"a",
"successfully",
"processed",
"record",
"includes",
"<",
"code",
">",
"shard",
"id",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"sequence",
"number",
"<",
"/",
"code",
">",
"values",
"the",
"<",
"code",
">",
"shard",
"id",
"<",
"/",
"code",
">",
"parameter",
"identifies",
"the",
"shard",
"in",
"the",
"stream",
"where",
"the",
"record",
"is",
"stored",
"the",
"<",
"code",
">",
"sequence",
"number",
"<",
"/",
"code",
">",
"parameter",
"is",
"an",
"identifier",
"assigned",
"to",
"the",
"put",
"record",
"unique",
"to",
"all",
"records",
"in",
"the",
"stream",
"<",
"/",
"p",
">",
"<",
"p",
">",
"an",
"unsuccessfully",
"processed",
"record",
"includes",
"<",
"code",
">",
"error",
"code",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"error",
"message",
"<",
"/",
"code",
">",
"values",
"<",
"code",
">",
"error",
"code",
"<",
"/",
"code",
">",
"reflects",
"the",
"type",
"of",
"error",
"and",
"can",
"be",
"one",
"of",
"the",
"following",
"values",
":",
"<",
"code",
">",
"provisioned",
"throughput",
"exceeded",
"exception",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"internal",
"failure",
"<",
"/",
"code",
">",
"<",
"code",
">",
"error",
"message",
"<",
"/",
"code",
">",
"provides",
"more",
"detailed",
"information",
"about",
"the",
"<",
"code",
">",
"provisioned",
"throughput",
"exceeded",
"exception",
"<",
"/",
"code",
">",
"exception",
"including",
"the",
"account",
"id",
"stream",
"name",
"and",
"shard",
"id",
"of",
"the",
"record",
"that",
"was",
"throttled",
"for",
"more",
"information",
"about",
"partially",
"successful",
"responses",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"kinesis",
"/",
"latest",
"/",
"dev",
"/",
"kinesis",
"-",
"using",
"-",
"sdk",
"-",
"java",
"-",
"add",
"-",
"data",
"-",
"to",
"-",
"stream",
"html",
"#",
"kinesis",
"-",
"using",
"-",
"sdk",
"-",
"java",
"-",
"putrecords",
">",
"adding",
"multiple",
"records",
"with",
"put",
"records",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"kinesis",
"data",
"streams",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"by",
"default",
"data",
"records",
"are",
"accessible",
"for",
"24",
"hours",
"from",
"the",
"time",
"that",
"they",
"are",
"added",
"to",
"a",
"stream",
"you",
"can",
"use",
"<",
"a",
">",
"increase",
"stream",
"retention",
"period",
"<",
"/",
"a",
">",
"or",
"<",
"a",
">",
"decrease",
"stream",
"retention",
"period",
"<",
"/",
"a",
">",
"to",
"modify",
"this",
"retention",
"period",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"put",
"records",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"registers",
"a",
"consumer",
"with",
"a",
"kinesis",
"data",
"stream",
"when",
"you",
"use",
"this",
"operation",
"the",
"consumer",
"you",
"register",
"can",
"read",
"data",
"from",
"the",
"stream",
"at",
"a",
"rate",
"of",
"up",
"to",
"2",
"mi",
"b",
"per",
"second",
"this",
"rate",
"is",
"unaffected",
"by",
"the",
"total",
"number",
"of",
"consumers",
"that",
"read",
"from",
"the",
"same",
"stream",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"can",
"register",
"up",
"to",
"5",
"consumers",
"per",
"stream",
"a",
"given",
"consumer",
"can",
"only",
"be",
"registered",
"with",
"one",
"stream",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"operation",
"has",
"a",
"limit",
"of",
"five",
"transactions",
"per",
"second",
"per",
"account",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"register",
"stream",
"consumer",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"removes",
"tags",
"from",
"the",
"specified",
"kinesis",
"data",
"stream",
"removed",
"tags",
"are",
"deleted",
"and",
"cannot",
"be",
"recovered",
"after",
"this",
"operation",
"successfully",
"completes",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"specify",
"a",
"tag",
"that",
"does",
"not",
"exist",
"it",
"is",
"ignored",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"a",
">",
"remove",
"tags",
"from",
"stream",
"<",
"/",
"a",
">",
"has",
"a",
"limit",
"of",
"five",
"transactions",
"per",
"second",
"per",
"account",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"remove",
"tags",
"from",
"stream",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"splits",
"a",
"shard",
"into",
"two",
"new",
"shards",
"in",
"the",
"kinesis",
"data",
"stream",
"to",
"increase",
"the",
"stream",
"s",
"capacity",
"to",
"ingest",
"and",
"transport",
"data",
"<",
"code",
">",
"split",
"shard",
"<",
"/",
"code",
">",
"is",
"called",
"when",
"there",
"is",
"a",
"need",
"to",
"increase",
"the",
"overall",
"capacity",
"of",
"a",
"stream",
"because",
"of",
"an",
"expected",
"increase",
"in",
"the",
"volume",
"of",
"data",
"records",
"being",
"ingested",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"can",
"also",
"use",
"<",
"code",
">",
"split",
"shard",
"<",
"/",
"code",
">",
"when",
"a",
"shard",
"appears",
"to",
"be",
"approaching",
"its",
"maximum",
"utilization",
";",
"for",
"example",
"the",
"producers",
"sending",
"data",
"into",
"the",
"specific",
"shard",
"are",
"suddenly",
"sending",
"more",
"than",
"previously",
"anticipated",
"you",
"can",
"also",
"call",
"<",
"code",
">",
"split",
"shard",
"<",
"/",
"code",
">",
"to",
"increase",
"stream",
"capacity",
"so",
"that",
"more",
"kinesis",
"data",
"streams",
"applications",
"can",
"simultaneously",
"read",
"data",
"from",
"the",
"stream",
"for",
"real",
"-",
"time",
"processing",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"must",
"specify",
"the",
"shard",
"to",
"be",
"split",
"and",
"the",
"new",
"hash",
"key",
"which",
"is",
"the",
"position",
"in",
"the",
"shard",
"where",
"the",
"shard",
"gets",
"split",
"in",
"two",
"in",
"many",
"cases",
"the",
"new",
"hash",
"key",
"might",
"be",
"the",
"average",
"of",
"the",
"beginning",
"and",
"ending",
"hash",
"key",
"but",
"it",
"can",
"be",
"any",
"hash",
"key",
"value",
"in",
"the",
"range",
"being",
"mapped",
"into",
"the",
"shard",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"kinesis",
"/",
"latest",
"/",
"dev",
"/",
"kinesis",
"-",
"using",
"-",
"sdk",
"-",
"java",
"-",
"resharding",
"-",
"split",
"html",
">",
"split",
"a",
"shard",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"kinesis",
"data",
"streams",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"can",
"use",
"<",
"a",
">",
"describe",
"stream",
"<",
"/",
"a",
">",
"to",
"determine",
"the",
"shard",
"id",
"and",
"hash",
"key",
"values",
"for",
"the",
"<",
"code",
">",
"shard",
"to",
"split",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"new",
"starting",
"hash",
"key",
"<",
"/",
"code",
">",
"parameters",
"that",
"are",
"specified",
"in",
"the",
"<",
"code",
">",
"split",
"shard",
"<",
"/",
"code",
">",
"request",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"split",
"shard",
"<",
"/",
"code",
">",
"is",
"an",
"asynchronous",
"operation",
"upon",
"receiving",
"a",
"<",
"code",
">",
"split",
"shard",
"<",
"/",
"code",
">",
"request",
"kinesis",
"data",
"streams",
"immediately",
"returns",
"a",
"response",
"and",
"sets",
"the",
"stream",
"status",
"to",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"after",
"the",
"operation",
"is",
"completed",
"kinesis",
"data",
"streams",
"sets",
"the",
"stream",
"status",
"to",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"read",
"and",
"write",
"operations",
"continue",
"to",
"work",
"while",
"the",
"stream",
"is",
"in",
"the",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"state",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"can",
"use",
"<",
"code",
">",
"describe",
"stream",
"<",
"/",
"code",
">",
"to",
"check",
"the",
"status",
"of",
"the",
"stream",
"which",
"is",
"returned",
"in",
"<",
"code",
">",
"stream",
"status",
"<",
"/",
"code",
">",
"if",
"the",
"stream",
"is",
"in",
"the",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"state",
"you",
"can",
"call",
"<",
"code",
">",
"split",
"shard",
"<",
"/",
"code",
">",
"if",
"a",
"stream",
"is",
"in",
"<",
"code",
">",
"creating",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"deleting",
"<",
"/",
"code",
">",
"states",
"<",
"code",
">",
"describe",
"stream",
"<",
"/",
"code",
">",
"returns",
"a",
"<",
"code",
">",
"resource",
"in",
"use",
"exception",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"the",
"specified",
"stream",
"does",
"not",
"exist",
"<",
"code",
">",
"describe",
"stream",
"<",
"/",
"code",
">",
"returns",
"a",
"<",
"code",
">",
"resource",
"not",
"found",
"exception",
"<",
"/",
"code",
">",
"if",
"you",
"try",
"to",
"create",
"more",
"shards",
"than",
"are",
"authorized",
"for",
"your",
"account",
"you",
"receive",
"a",
"<",
"code",
">",
"limit",
"exceeded",
"exception",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"the",
"default",
"shard",
"limit",
"for",
"an",
"aws",
"account",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"kinesis",
"/",
"latest",
"/",
"dev",
"/",
"service",
"-",
"sizes",
"-",
"and",
"-",
"limits",
"html",
">",
"kinesis",
"data",
"streams",
"limits",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"kinesis",
"data",
"streams",
"developer",
"guide",
"<",
"/",
"i",
">",
"to",
"increase",
"this",
"limit",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"general",
"/",
"latest",
"/",
"gr",
"/",
"aws",
"service",
"limits",
"html",
">",
"contact",
"aws",
"support",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"try",
"to",
"operate",
"on",
"too",
"many",
"streams",
"simultaneously",
"using",
"<",
"a",
">",
"create",
"stream",
"<",
"/",
"a",
">",
"<",
"a",
">",
"delete",
"stream",
"<",
"/",
"a",
">",
"<",
"a",
">",
"merge",
"shards",
"<",
"/",
"a",
">",
"and",
"/",
"or",
"<",
"a",
">",
"split",
"shard",
"<",
"/",
"a",
">",
"you",
"receive",
"a",
"<",
"code",
">",
"limit",
"exceeded",
"exception",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"split",
"shard",
"<",
"/",
"code",
">",
"has",
"a",
"limit",
"of",
"five",
"transactions",
"per",
"second",
"per",
"account",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"split",
"shard",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"enables",
"or",
"updates",
"server",
"-",
"side",
"encryption",
"using",
"an",
"aws",
"kms",
"key",
"for",
"a",
"specified",
"stream",
"<",
"/",
"p",
">",
"<",
"p",
">",
"starting",
"encryption",
"is",
"an",
"asynchronous",
"operation",
"upon",
"receiving",
"the",
"request",
"kinesis",
"data",
"streams",
"returns",
"immediately",
"and",
"sets",
"the",
"status",
"of",
"the",
"stream",
"to",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"after",
"the",
"update",
"is",
"complete",
"kinesis",
"data",
"streams",
"sets",
"the",
"status",
"of",
"the",
"stream",
"back",
"to",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"updating",
"or",
"applying",
"encryption",
"normally",
"takes",
"a",
"few",
"seconds",
"to",
"complete",
"but",
"it",
"can",
"take",
"minutes",
"you",
"can",
"continue",
"to",
"read",
"and",
"write",
"data",
"to",
"your",
"stream",
"while",
"its",
"status",
"is",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"once",
"the",
"status",
"of",
"the",
"stream",
"is",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"encryption",
"begins",
"for",
"records",
"written",
"to",
"the",
"stream",
"<",
"/",
"p",
">",
"<",
"p",
">",
"api",
"limits",
":",
"you",
"can",
"successfully",
"apply",
"a",
"new",
"aws",
"kms",
"key",
"for",
"server",
"-",
"side",
"encryption",
"25",
"times",
"in",
"a",
"rolling",
"24",
"-",
"hour",
"period",
"<",
"/",
"p",
">",
"<",
"p",
">",
"note",
":",
"it",
"can",
"take",
"up",
"to",
"5",
"seconds",
"after",
"the",
"stream",
"is",
"in",
"an",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"status",
"before",
"all",
"records",
"written",
"to",
"the",
"stream",
"are",
"encrypted",
"after",
"you",
"enable",
"encryption",
"you",
"can",
"verify",
"that",
"encryption",
"is",
"applied",
"by",
"inspecting",
"the",
"api",
"response",
"from",
"<",
"code",
">",
"put",
"record",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"put",
"records",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"start",
"stream",
"encryption",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"disables",
"server",
"-",
"side",
"encryption",
"for",
"a",
"specified",
"stream",
"<",
"/",
"p",
">",
"<",
"p",
">",
"stopping",
"encryption",
"is",
"an",
"asynchronous",
"operation",
"upon",
"receiving",
"the",
"request",
"kinesis",
"data",
"streams",
"returns",
"immediately",
"and",
"sets",
"the",
"status",
"of",
"the",
"stream",
"to",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"after",
"the",
"update",
"is",
"complete",
"kinesis",
"data",
"streams",
"sets",
"the",
"status",
"of",
"the",
"stream",
"back",
"to",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"stopping",
"encryption",
"normally",
"takes",
"a",
"few",
"seconds",
"to",
"complete",
"but",
"it",
"can",
"take",
"minutes",
"you",
"can",
"continue",
"to",
"read",
"and",
"write",
"data",
"to",
"your",
"stream",
"while",
"its",
"status",
"is",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"once",
"the",
"status",
"of",
"the",
"stream",
"is",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"records",
"written",
"to",
"the",
"stream",
"are",
"no",
"longer",
"encrypted",
"by",
"kinesis",
"data",
"streams",
"<",
"/",
"p",
">",
"<",
"p",
">",
"api",
"limits",
":",
"you",
"can",
"successfully",
"disable",
"server",
"-",
"side",
"encryption",
"25",
"times",
"in",
"a",
"rolling",
"24",
"-",
"hour",
"period",
"<",
"/",
"p",
">",
"<",
"p",
">",
"note",
":",
"it",
"can",
"take",
"up",
"to",
"5",
"seconds",
"after",
"the",
"stream",
"is",
"in",
"an",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"status",
"before",
"all",
"records",
"written",
"to",
"the",
"stream",
"are",
"no",
"longer",
"subject",
"to",
"encryption",
"after",
"you",
"disabled",
"encryption",
"you",
"can",
"verify",
"that",
"encryption",
"is",
"not",
"applied",
"by",
"inspecting",
"the",
"api",
"response",
"from",
"<",
"code",
">",
"put",
"record",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"put",
"records",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"stop",
"stream",
"encryption",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"updates",
"the",
"shard",
"count",
"of",
"the",
"specified",
"stream",
"to",
"the",
"specified",
"number",
"of",
"shards",
"<",
"/",
"p",
">",
"<",
"p",
">",
"updating",
"the",
"shard",
"count",
"is",
"an",
"asynchronous",
"operation",
"upon",
"receiving",
"the",
"request",
"kinesis",
"data",
"streams",
"returns",
"immediately",
"and",
"sets",
"the",
"status",
"of",
"the",
"stream",
"to",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"after",
"the",
"update",
"is",
"complete",
"kinesis",
"data",
"streams",
"sets",
"the",
"status",
"of",
"the",
"stream",
"back",
"to",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"depending",
"on",
"the",
"size",
"of",
"the",
"stream",
"the",
"scaling",
"action",
"could",
"take",
"a",
"few",
"minutes",
"to",
"complete",
"you",
"can",
"continue",
"to",
"read",
"and",
"write",
"data",
"to",
"your",
"stream",
"while",
"its",
"status",
"is",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"to",
"update",
"the",
"shard",
"count",
"kinesis",
"data",
"streams",
"performs",
"splits",
"or",
"merges",
"on",
"individual",
"shards",
"this",
"can",
"cause",
"short",
"-",
"lived",
"shards",
"to",
"be",
"created",
"in",
"addition",
"to",
"the",
"final",
"shards",
"we",
"recommend",
"that",
"you",
"double",
"or",
"halve",
"the",
"shard",
"count",
"as",
"this",
"results",
"in",
"the",
"fewest",
"number",
"of",
"splits",
"or",
"merges",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"operation",
"has",
"the",
"following",
"default",
"limits",
"by",
"default",
"you",
"cannot",
"do",
"the",
"following",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"scale",
"more",
"than",
"twice",
"per",
"rolling",
"24",
"-",
"hour",
"period",
"per",
"stream",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"scale",
"up",
"to",
"more",
"than",
"double",
"your",
"current",
"shard",
"count",
"for",
"a",
"stream",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"scale",
"down",
"below",
"half",
"your",
"current",
"shard",
"count",
"for",
"a",
"stream",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"scale",
"up",
"to",
"more",
"than",
"500",
"shards",
"in",
"a",
"stream",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"scale",
"a",
"stream",
"with",
"more",
"than",
"500",
"shards",
"down",
"unless",
"the",
"result",
"is",
"less",
"than",
"500",
"shards",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"scale",
"up",
"to",
"more",
"than",
"the",
"shard",
"limit",
"for",
"your",
"account",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"for",
"the",
"default",
"limits",
"for",
"an",
"aws",
"account",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"kinesis",
"/",
"latest",
"/",
"dev",
"/",
"service",
"-",
"sizes",
"-",
"and",
"-",
"limits",
"html",
">",
"streams",
"limits",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"kinesis",
"data",
"streams",
"developer",
"guide",
"<",
"/",
"i",
">",
"to",
"request",
"an",
"increase",
"in",
"the",
"call",
"rate",
"limit",
"the",
"shard",
"limit",
"for",
"this",
"api",
"or",
"your",
"overall",
"shard",
"limit",
"use",
"the",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"console",
"aws",
"amazon",
"com",
"/",
"support",
"/",
"v",
"1",
"#",
"/",
"case",
"/",
"create",
"?",
"issue",
"type",
"=",
"service",
"-",
"limit",
"-",
"increase",
"&",
"amp",
";",
"limit",
"type",
"=",
"service",
"-",
"code",
"-",
"kinesis",
">",
"limits",
"form",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] |
[
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"update",
"shard",
"count",
"(",
"request",
")",
";"
] |
[
"returns",
"a",
"collection",
"view",
"of",
"all",
"values",
"associated",
"with",
"a",
"key",
"if",
"no",
"mappings",
"in",
"the",
"multimap",
"have",
"the",
"provided",
"key",
"an",
"empty",
"collection",
"is",
"returned"
] |
[
"return",
"(",
"sorted",
"set",
"<",
"v",
">",
")",
"super",
"get",
"(",
"key",
")",
";"
] |
[
"removes",
"all",
"values",
"associated",
"with",
"a",
"given",
"key",
"the",
"returned",
"collection",
"is",
"immutable"
] |
[
"return",
"(",
"sorted",
"set",
"<",
"v",
">",
")",
"super",
"remove",
"all",
"(",
"key",
")",
";"
] |
[
"stores",
"a",
"collection",
"of",
"values",
"with",
"the",
"same",
"key",
"replacing",
"any",
"existing",
"values",
"for",
"that",
"key",
"the",
"returned",
"collection",
"is",
"immutable"
] |
[
"return",
"(",
"sorted",
"set",
"<",
"v",
">",
")",
"super",
"replace",
"values",
"(",
"key",
",",
"values",
")",
";"
] |
[
"obtain",
"an",
"instance",
"of",
"bt",
"bvh",
"triangle",
"mesh",
"shape",
"made",
"up",
"of",
"the",
"specified",
"{"
] |
[
"bt",
"bvh",
"triangle",
"mesh",
"shape",
"result",
"=",
"get",
"instance",
"(",
"mesh",
"parts",
")",
";",
"if",
"(",
"result",
"=",
"=",
"null",
")",
"{",
"result",
"=",
"new",
"bt",
"bvh",
"triangle",
"mesh",
"shape",
"(",
"bt",
"triangle",
"index",
"vertex",
"array",
"obtain",
"(",
"mesh",
"parts",
")",
",",
"true",
")",
";",
"instances",
"add",
"(",
"result",
")",
";",
"}",
"result",
"obtain",
"(",
")",
";",
"return",
"result",
";"
] |
[
"initialize",
"fetch",
"schedule",
"related",
"data",
"implementations",
"should",
"at",
"least",
"set",
"the",
"<",
"code",
">",
"fetch",
"time",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"fetch",
"interval",
"<",
"/",
"code",
">",
"the",
"default",
"implementation",
"sets",
"the",
"<",
"code",
">",
"fetch",
"time",
"<",
"/",
"code",
">",
"to",
"now",
"using",
"the",
"default",
"<",
"code",
">",
"fetch",
"interval",
"<",
"/",
"code",
">"
] |
[
"datum",
"set",
"fetch",
"time",
"(",
"system",
"current",
"time",
"millis",
"(",
")",
")",
";",
"datum",
"set",
"fetch",
"interval",
"(",
"default",
"interval",
")",
";",
"datum",
"set",
"retries",
"since",
"fetch",
"(",
"0",
")",
";",
"return",
"datum",
";"
] |
[
"sets",
"the",
"<",
"code",
">",
"fetch",
"interval",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"fetch",
"time",
"<",
"/",
"code",
">",
"on",
"a",
"successfully",
"fetched",
"page",
"note",
":",
"this",
"implementation",
"resets",
"the",
"retry",
"counter",
"-",
"extending",
"classes",
"should",
"call",
"super",
"set",
"fetch",
"schedule",
"(",
")",
"to",
"preserve",
"this",
"behavior"
] |
[
"datum",
"set",
"retries",
"since",
"fetch",
"(",
"0",
")",
";",
"return",
"datum",
";"
] |
[
"this",
"method",
"adjusts",
"the",
"fetch",
"schedule",
"if",
"fetching",
"needs",
"to",
"be",
"re",
"-",
"tried",
"due",
"to",
"transient",
"errors",
"the",
"default",
"implementation",
"sets",
"the",
"next",
"fetch",
"time",
"1",
"day",
"in",
"the",
"future",
"and",
"increases",
"the",
"retry",
"counter"
] |
[
"datum",
"set",
"fetch",
"time",
"(",
"fetch",
"time",
"+",
"(",
"long",
")",
"seconds",
"per",
"day",
"*",
"1000",
")",
";",
"datum",
"set",
"retries",
"since",
"fetch",
"(",
"datum",
"get",
"retries",
"since",
"fetch",
"(",
")",
"+",
"1",
")",
";",
"return",
"datum",
";"
] |
[
"this",
"method",
"return",
"the",
"last",
"fetch",
"time",
"of",
"the",
"crawl",
"datum"
] |
[
"if",
"(",
"datum",
"get",
"status",
"(",
")",
"=",
"=",
"crawl",
"datum",
"status",
"db",
"unfetched",
")",
"{",
"return",
"0l",
";",
"}",
"else",
"{",
"return",
"datum",
"get",
"fetch",
"time",
"(",
")",
"-",
"(",
"long",
")",
"datum",
"get",
"fetch",
"interval",
"(",
")",
"*",
"1000",
";",
"}"
] |
[
"{"
] |
[
"super",
"before",
"tests",
"started",
"(",
")",
";",
"temp",
"prop",
"=",
"system",
"get",
"property",
"(",
"ignite",
"part",
"distribution",
"warn",
"threshold",
")",
";"
] |
[
"{"
] |
[
"if",
"(",
"temp",
"prop",
"!",
"=",
"null",
")",
"system",
"set",
"property",
"(",
"ignite",
"part",
"distribution",
"warn",
"threshold",
",",
"temp",
"prop",
")",
";"
] |
[
"{"
] |
[
"super",
"after",
"test",
"(",
")",
";",
"system",
"clear",
"property",
"(",
"ignite",
"part",
"distribution",
"warn",
"threshold",
")",
";",
"stop",
"all",
"grids",
"(",
")",
";"
] |
[
"{"
] |
[
"ignite",
"configuration",
"cfg",
"=",
"super",
"get",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"cache",
"configuration",
"cache",
"cfg",
"=",
"default",
"cache",
"configuration",
"(",
")",
";",
"cache",
"cfg",
"set",
"cache",
"mode",
"(",
"cache",
"mode",
"partitioned",
")",
";",
"cache",
"cfg",
"set",
"backups",
"(",
"backups",
")",
";",
"cache",
"cfg",
"set",
"affinity",
"(",
"new",
"even",
"distribution",
"affinity",
"function",
"(",
"parts",
")",
")",
";",
"cfg",
"set",
"cache",
"configuration",
"(",
"cache",
"cfg",
")",
";",
"return",
"cfg",
";"
] |
[
"{"
] |
[
"return",
"key",
"hash",
"code",
"(",
")",
"%",
"parts",
";"
] |
[
"{"
] |
[
"list",
"<",
"cluster",
"node",
">",
"nodes",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"aff",
"ctx",
"current",
"topology",
"snapshot",
"(",
")",
")",
";",
"nodes",
"sort",
"(",
"comparator",
"comparing",
"(",
"o",
"-",
">",
"o",
"<",
"string",
">",
"attribute",
"(",
"attr",
"ignite",
"instance",
"name",
")",
")",
")",
";",
"list",
"<",
"list",
"<",
"cluster",
"node",
">",
">",
"res",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"parts",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"parts",
";",
"i",
"+",
"+",
")",
"{",
"set",
"<",
"cluster",
"node",
">",
"n",
"0",
"=",
"new",
"linked",
"hash",
"set",
"<",
">",
"(",
")",
";",
"n",
"0",
"add",
"(",
"nodes",
"get",
"(",
"i",
"%",
"nodes",
"size",
"(",
")",
")",
")",
";",
"for",
"(",
"int",
"j",
"=",
"1",
";",
"j",
"<",
"=",
"aff",
"ctx",
"backups",
"(",
")",
";",
"j",
"+",
"+",
")",
"n",
"0",
"add",
"(",
"nodes",
"get",
"(",
"(",
"i",
"+",
"j",
")",
"%",
"nodes",
"size",
"(",
")",
")",
")",
";",
"res",
"add",
"(",
"new",
"array",
"list",
"<",
">",
"(",
"n",
"0",
")",
")",
";",
"}",
"return",
"res",
";"
] |
[
"return",
"a",
"{"
] |
[
"return",
"random",
"from",
"(",
"x",
"content",
"type",
"json",
",",
"x",
"content",
"type",
"smile",
")",
";"
] |
[
"if",
"no",
"other",
"information",
"available",
"return",
"the",
"source",
"s",
"number",
"of",
"rows"
] |
[
"return",
"source",
"num",
"expected",
"rows",
"(",
")",
";"
] |
[
"returns",
"the",
"sync",
"action",
"bar",
"switch",
"to",
"enable",
"/",
"disable",
"sync"
] |
[
"return",
"m",
"sync",
"switch",
"preference",
";"
] |
[
"update",
"the",
"state",
"of",
"all",
"settings",
"from",
"sync"
] |
[
"boolean",
"is",
"sync",
"enabled",
"=",
"android",
"sync",
"settings",
"is",
"sync",
"enabled",
"(",
"get",
"activity",
"(",
")",
")",
";",
"m",
"sync",
"switch",
"preference",
"set",
"checked",
"(",
"is",
"sync",
"enabled",
")",
";",
"m",
"sync",
"switch",
"preference",
"set",
"enabled",
"(",
"can",
"disable",
"sync",
"(",
")",
")",
";",
"update",
"sync",
"state",
"from",
"switch",
"(",
")",
";"
] |
[
"update",
"the",
"state",
"of",
"settings",
"using",
"the",
"switch",
"state",
"to",
"determine",
"if",
"sync",
"is",
"enabled"
] |
[
"update",
"sync",
"everything",
"state",
"(",
")",
";",
"update",
"data",
"type",
"state",
"(",
")",
";",
"update",
"encryption",
"state",
"(",
")",
";",
"update",
"sync",
"accounts",
"list",
"state",
"(",
")",
";",
"update",
"sync",
"error",
"card",
"(",
")",
";"
] |
[
"applies",
"a",
"span",
"to",
"the",
"given",
"string",
"to",
"give",
"it",
"an",
"error",
"color"
] |
[
"spannable",
"string",
"summary",
"=",
"new",
"spannable",
"string",
"(",
"string",
")",
";",
"summary",
"set",
"span",
"(",
"new",
"foreground",
"color",
"span",
"(",
"api",
"compatibility",
"utils",
"get",
"color",
"(",
"context",
"get",
"resources",
"(",
")",
",",
"r",
"color",
"input",
"underline",
"error",
"color",
")",
")",
",",
"0",
",",
"summary",
"length",
"(",
")",
",",
"0",
")",
";",
"return",
"summary",
";"
] |
[
"callback",
"for",
"passphrase",
"dialog",
"fragment",
"listener"
] |
[] |
[
"opens",
"the",
"google",
"dashboard",
"where",
"the",
"user",
"can",
"control",
"the",
"data",
"stored",
"for",
"the",
"account"
] |
[
"intent",
"intent",
"=",
"new",
"intent",
"(",
"intent",
"action",
"view",
",",
"uri",
"parse",
"(",
"dashboard",
"url",
")",
")",
";",
"intent",
"set",
"package",
"(",
"get",
"activity",
"(",
")",
"get",
"package",
"name",
"(",
")",
")",
";",
"intent",
"add",
"flags",
"(",
"intent",
"flag",
"activity",
"new",
"task",
")",
";",
"start",
"activity",
"(",
"intent",
")",
";"
] |
[
"update",
"the",
"state",
"of",
"the",
"sync",
"everything",
"switch"
] |
[
"boolean",
"is",
"sync",
"enabled",
"=",
"m",
"sync",
"switch",
"preference",
"is",
"checked",
"(",
")",
";",
"m",
"sync",
"everything",
"set",
"enabled",
"(",
"is",
"sync",
"enabled",
")",
";",
"m",
"sync",
"everything",
"set",
"checked",
"(",
"!",
"is",
"sync",
"enabled",
"|",
"|",
"m",
"profile",
"sync",
"service",
"has",
"keep",
"everything",
"synced",
"(",
")",
")",
";"
] |
[
"gets",
"hint",
"message",
"to",
"resolve",
"sync",
"error"
] |
[
"resources",
"res",
"=",
"get",
"activity",
"(",
")",
"get",
"resources",
"(",
")",
";",
"switch",
"(",
"error",
")",
"{",
"case",
"sync",
"android",
"sync",
"disabled",
":",
"return",
"res",
"get",
"string",
"(",
"r",
"string",
"hint",
"android",
"sync",
"disabled",
")",
";",
"case",
"sync",
"auth",
"error",
":",
"return",
"res",
"get",
"string",
"(",
"r",
"string",
"hint",
"sync",
"auth",
"error",
")",
";",
"case",
"sync",
"client",
"out",
"of",
"date",
":",
"return",
"res",
"get",
"string",
"(",
"r",
"string",
"hint",
"client",
"out",
"of",
"date",
",",
"build",
"info",
"get",
"package",
"label",
"(",
"get",
"activity",
"(",
")",
")",
")",
";",
"case",
"sync",
"other",
"errors",
":",
"return",
"res",
"get",
"string",
"(",
"r",
"string",
"hint",
"other",
"sync",
"errors",
")",
";",
"case",
"sync",
"passphrase",
"required",
":",
"return",
"res",
"get",
"string",
"(",
"r",
"string",
"hint",
"passphrase",
"required",
")",
";",
"case",
"sync",
"no",
"error",
":",
"default",
":",
"return",
"null",
";",
"}"
] |
[
"syntactic",
"sugar",
"for",
"creating",
"a",
"new",
"timing",
"filter"
] |
[
"return",
"new",
"timing",
"filter",
"(",
")",
";"
] |
[
"create",
"a",
"new",
"artifact",
"service",
"stager",
"with",
"the",
"specified",
"buffer",
"size",
"useful",
"for",
"testing",
"multi",
"-",
"part",
"uploads"
] |
[
"return",
"new",
"artifact",
"service",
"stager",
"(",
"channel",
",",
"buffer",
"size",
")",
";"
] |
[
"staging",
"handle",
"to",
"this",
"file"
] |
[
"public",
"abstract",
"string",
"get",
"staging",
"name",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"token",
"for",
"the",
"next",
"set",
"of",
"results",
"<",
"/",
"p",
">"
] |
[
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"results",
"to",
"return",
"at",
"one",
"time",
"<",
"/",
"p",
">"
] |
[
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"true",
"return",
"child",
"groups",
"as",
"well",
"<",
"/",
"p",
">"
] |
[
"set",
"recursive",
"(",
"recursive",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"target",
"(",
"thing",
"group",
")",
"whose",
"attached",
"security",
"profiles",
"you",
"want",
"to",
"get",
"<",
"/",
"p",
">"
] |
[
"set",
"security",
"profile",
"target",
"arn",
"(",
"security",
"profile",
"target",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"find",
"release"
] |
[
"long",
"gray",
"release",
"id",
"=",
"gray",
"release",
"rules",
"holder",
"find",
"release",
"id",
"from",
"gray",
"release",
"rule",
"(",
"client",
"app",
"id",
",",
"client",
"ip",
",",
"config",
"app",
"id",
",",
"config",
"cluster",
"name",
",",
"config",
"namespace",
")",
";",
"release",
"release",
"=",
"null",
";",
"if",
"(",
"gray",
"release",
"id",
"!",
"=",
"null",
")",
"{",
"release",
"=",
"find",
"active",
"one",
"(",
"gray",
"release",
"id",
",",
"client",
"messages",
")",
";",
"}",
"if",
"(",
"release",
"=",
"=",
"null",
")",
"{",
"release",
"=",
"find",
"latest",
"active",
"release",
"(",
"config",
"app",
"id",
",",
"config",
"cluster",
"name",
",",
"config",
"namespace",
",",
"client",
"messages",
")",
";",
"}",
"return",
"release",
";"
] |
[
"find",
"active",
"release",
"by",
"id"
] |
[
"protected",
"abstract",
"release",
"find",
"active",
"one",
"(",
"long",
"id",
",",
"apollo",
"notification",
"messages",
"client",
"messages",
")",
";"
] |
[
"find",
"active",
"release",
"by",
"app",
"id",
"cluster",
"name",
"and",
"namespace",
"name"
] |
[
"protected",
"abstract",
"release",
"find",
"latest",
"active",
"release",
"(",
"string",
"config",
"app",
"id",
",",
"string",
"config",
"cluster",
"name",
",",
"string",
"config",
"namespace",
"name",
",",
"apollo",
"notification",
"messages",
"client",
"messages",
")",
";"
] |
[
"<",
"p",
">",
"the",
"icmp",
"code",
"a",
"value",
"of",
"-",
"1",
"means",
"all",
"codes",
"for",
"the",
"specified",
"icmp",
"type",
"<",
"/",
"p",
">"
] |
[
"set",
"code",
"(",
"code",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"icmp",
"type",
"a",
"value",
"of",
"-",
"1",
"means",
"all",
"types",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"icmp",
"type",
"a",
"value",
"of",
"-",
"1",
"means",
"all",
"types",
"<",
"/",
"p",
">"
] |
[
"set",
"type",
"(",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"high",
"-",
"availability",
"partition",
"group",
"<",
"/",
"p",
">"
] |
[
"set",
"hapg",
"arn",
"(",
"hapg",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"add",
"this",
"group",
"all",
"parent",
"groups",
"all",
"subgroups",
"all",
"projects",
"in",
"this",
"group",
"all",
"repositories",
"in",
"this",
"group",
"all",
"projects",
"in",
"the",
"subgroups",
"and",
"all",
"repositories",
"in",
"the",
"subgroups",
"among",
"the",
"allowed",
"entities",
"for",
"the",
"authorization"
] |
[
"group",
"g",
";",
"if",
"(",
"(",
"g",
"=",
"group",
"get",
"by",
"name",
"(",
"group",
")",
")",
"!",
"=",
"null",
")",
"{",
"user",
"groups",
"get",
"(",
"request",
"get",
"user",
"principal",
"(",
")",
"get",
"name",
"(",
")",
")",
"add",
"all",
"(",
"g",
"get",
"related",
"groups",
"(",
")",
"stream",
"(",
")",
"map",
"(",
"(",
"t",
")",
"-",
">",
"{",
"return",
"t",
"get",
"name",
"(",
")",
";",
"}",
")",
"collect",
"(",
"collectors",
"to",
"set",
"(",
")",
")",
")",
";",
"user",
"projects",
"get",
"(",
"request",
"get",
"user",
"principal",
"(",
")",
"get",
"name",
"(",
")",
")",
"add",
"all",
"(",
"g",
"get",
"all",
"projects",
"(",
")",
"stream",
"(",
")",
"map",
"(",
"(",
"t",
")",
"-",
">",
"{",
"return",
"t",
"get",
"name",
"(",
")",
";",
"}",
")",
"collect",
"(",
"collectors",
"to",
"set",
"(",
")",
")",
")",
";",
"}"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] |
[
"return",
"endpoints",
";"
] |
[
"normalize",
"uri",
"so",
"we",
"can",
"do",
"endpoint",
"hits",
"with",
"minor",
"mistakes",
"and",
"parameters",
"is",
"not",
"in",
"the",
"same",
"order"
] |
[
"try",
"{",
"uri",
"=",
"u",
"r",
"i",
"support",
"normalize",
"uri",
"(",
"uri",
")",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"throw",
"new",
"resolve",
"endpoint",
"failed",
"exception",
"(",
"uri",
",",
"e",
")",
";",
"}",
"return",
"uri",
";"
] |
[
"gets",
"the",
"endpoint",
"key",
"to",
"use",
"for",
"lookup",
"or",
"whe",
"adding",
"endpoints",
"to",
"the",
"{",
"@",
"link",
"default",
"endpoint",
"registry",
"}"
] |
[
"return",
"new",
"endpoint",
"key",
"(",
"uri",
")",
";"
] |
[
"gets",
"the",
"endpoint",
"key",
"to",
"use",
"for",
"lookup",
"or",
"whe",
"adding",
"endpoints",
"to",
"the",
"{",
"@",
"link",
"default",
"endpoint",
"registry",
"}"
] |
[
"return",
"new",
"endpoint",
"key",
"(",
"uri",
",",
"true",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] |
[
"this",
"route",
"controller",
"=",
"route",
"controller",
";",
"this",
"route",
"controller",
"set",
"camel",
"context",
"(",
"this",
")",
";"
] |
[
"removes",
"the",
"route",
"definition",
"with",
"the",
"given",
"key"
] |
[
"boolean",
"answer",
"=",
"false",
";",
"iterator",
"<",
"route",
"definition",
">",
"iter",
"=",
"route",
"definitions",
"iterator",
"(",
")",
";",
"while",
"(",
"iter",
"has",
"next",
"(",
")",
")",
"{",
"route",
"definition",
"route",
"=",
"iter",
"next",
"(",
")",
";",
"if",
"(",
"route",
"id",
"or",
"create",
"(",
"node",
"id",
"factory",
")",
"equals",
"(",
"key",
")",
")",
"{",
"iter",
"remove",
"(",
")",
";",
"answer",
"=",
"true",
";",
"}",
"}",
"return",
"answer",
";"
] |
[
"sets",
"the",
"registry",
"to",
"the",
"given",
"jndi",
"context"
] |
[
"set",
"registry",
"(",
"new",
"jndi",
"registry",
"(",
"jndi",
"context",
")",
")",
";"
] |
[
"force",
"clear",
"lazy",
"initialization",
"so",
"they",
"can",
"be",
"re",
"-",
"created",
"on",
"restart"
] |
[
"injector",
"=",
"null",
";",
"language",
"resolver",
"=",
"null",
";",
"type",
"converter",
"registry",
"=",
"null",
";",
"type",
"converter",
"=",
"null",
";"
] |
[
"lazily",
"create",
"a",
"default",
"implementation"
] |
[
"base",
"type",
"converter",
"registry",
"answer",
";",
"if",
"(",
"is",
"lazy",
"load",
"type",
"converters",
"(",
")",
")",
"{",
"answer",
"=",
"new",
"lazy",
"loading",
"type",
"converter",
"(",
"package",
"scan",
"class",
"resolver",
",",
"get",
"injector",
"(",
")",
",",
"get",
"default",
"factory",
"finder",
"(",
")",
")",
";",
"}",
"else",
"{",
"answer",
"=",
"new",
"default",
"type",
"converter",
"(",
"package",
"scan",
"class",
"resolver",
",",
"get",
"injector",
"(",
")",
",",
"get",
"default",
"factory",
"finder",
"(",
")",
",",
"is",
"load",
"type",
"converters",
"(",
")",
")",
";",
"}",
"answer",
"set",
"camel",
"context",
"(",
"this",
")",
";",
"set",
"type",
"converter",
"registry",
"(",
"answer",
")",
";",
"return",
"answer",
";"
] |
[
"lazily",
"create",
"a",
"default",
"implementation"
] |
[
"return",
"new",
"default",
"management",
"m",
"bean",
"assembler",
"(",
"this",
")",
";"
] |
[
"lazily",
"create",
"a",
"default",
"implementation"
] |
[
"return",
"new",
"default",
"component",
"resolver",
"(",
")",
";"
] |
[
"a",
"pluggable",
"strategy",
"to",
"allow",
"an",
"endpoint",
"to",
"be",
"created",
"without",
"requiring",
"a",
"component",
"to",
"be",
"its",
"factory",
"such",
"as",
"for",
"looking",
"up",
"the",
"uri",
"inside",
"some",
"{",
"@",
"link",
"registry",
"}"
] |
[
"object",
"value",
"=",
"get",
"registry",
"(",
")",
"lookup",
"by",
"name",
"(",
"uri",
")",
";",
"if",
"(",
"value",
"instanceof",
"endpoint",
")",
"{",
"return",
"(",
"endpoint",
")",
"value",
";",
"}",
"else",
"if",
"(",
"value",
"instanceof",
"processor",
")",
"{",
"return",
"new",
"processor",
"endpoint",
"(",
"uri",
",",
"this",
",",
"(",
"processor",
")",
"value",
")",
";",
"}",
"else",
"if",
"(",
"value",
"!",
"=",
"null",
")",
"{",
"return",
"convert",
"bean",
"to",
"endpoint",
"(",
"uri",
",",
"value",
")",
";",
"}",
"return",
"null",
";"
] |
[
"should",
"we",
"start",
"newly",
"added",
"routes",
"?"
] |
[
"return",
"is",
"started",
"(",
")",
"&",
"&",
"!",
"is",
"starting",
"(",
")",
";"
] |
[
"gets",
"the",
"properties",
"component",
"in",
"use",
"returns",
"{"
] |
[
"return",
"properties",
"component",
";"
] |
[
"reset",
"context",
"counter",
"to",
"a",
"preset",
"value",
"mostly",
"used",
"for",
"tests",
"to",
"ensure",
"a",
"predictable",
"get",
"name",
"(",
")"
] |
[
"default",
"camel",
"context",
"name",
"strategy",
"set",
"counter",
"(",
"value",
")",
";",
"default",
"management",
"name",
"strategy",
"set",
"counter",
"(",
"value",
")",
";"
] |
[
"possible",
"values",
":",
"<",
"ul",
">",
"<",
"li",
">",
"true",
"<",
"/",
"li",
">",
"<",
"li",
">",
"false",
"<",
"/",
"li",
">",
"<",
"li",
">",
"yes",
"<",
"/",
"li",
">",
"<",
"li",
">",
"no",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] |
[
"this",
"include",
"internals",
"=",
"include",
"internals",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.