docstring_tokens
list | code_tokens
list |
---|---|
[
"returns",
"the",
"indication",
"text",
"indicating",
"that",
"trust",
"has",
"been",
"granted"
]
| [
"return",
"null",
";"
]
|
[
"returns",
"the",
"indication",
"text",
"indicating",
"that",
"trust",
"is",
"currently",
"being",
"managed"
]
| [
"return",
"null",
";"
]
|
[
"hides",
"transient",
"indication",
"in",
"{"
]
| [
"m",
"handler",
"send",
"message",
"delayed",
"(",
"m",
"handler",
"obtain",
"message",
"(",
"msg",
"hide",
"transient",
")",
",",
"delay",
"ms",
")",
";"
]
|
[
"shows",
"{"
]
| [
"show",
"transient",
"indication",
"(",
"m",
"context",
"get",
"resources",
"(",
")",
"get",
"string",
"(",
"transient",
"indication",
")",
")",
";"
]
|
[
"shows",
"{"
]
| [
"show",
"transient",
"indication",
"(",
"transient",
"indication",
",",
"m",
"initial",
"text",
"color",
")",
";"
]
|
[
"hides",
"transient",
"indication"
]
| [
"if",
"(",
"m",
"transient",
"indication",
"!",
"=",
"null",
")",
"{",
"m",
"transient",
"indication",
"=",
"null",
";",
"m",
"handler",
"remove",
"messages",
"(",
"msg",
"hide",
"transient",
")",
";",
"update",
"indication",
"(",
"false",
")",
";",
"}"
]
|
[
"animates",
"text",
"view",
"-",
"text",
"view",
"moves",
"up",
"and",
"bounces",
"down"
]
| [
"int",
"y",
"translation",
"=",
"m",
"context",
"get",
"resources",
"(",
")",
"get",
"integer",
"(",
"r",
"integer",
"wired",
"charging",
"keyguard",
"text",
"animation",
"distance",
")",
";",
"int",
"animate",
"up",
"duration",
"=",
"m",
"context",
"get",
"resources",
"(",
")",
"get",
"integer",
"(",
"r",
"integer",
"wired",
"charging",
"keyguard",
"text",
"animation",
"duration",
"up",
")",
";",
"int",
"animate",
"down",
"duration",
"=",
"m",
"context",
"get",
"resources",
"(",
")",
"get",
"integer",
"(",
"r",
"integer",
"wired",
"charging",
"keyguard",
"text",
"animation",
"duration",
"down",
")",
";",
"text",
"view",
"animate",
"(",
")",
"translation",
"y",
"by",
"(",
"y",
"translation",
")",
"set",
"interpolator",
"(",
"interpolators",
"linear",
")",
"set",
"duration",
"(",
"animate",
"up",
"duration",
")",
"set",
"listener",
"(",
"new",
"animator",
"listener",
"adapter",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"on",
"animation",
"start",
"(",
"animator",
"animation",
")",
"{",
"text",
"view",
"switch",
"indication",
"(",
"indication",
")",
";",
"}",
"@",
"override",
"public",
"void",
"on",
"animation",
"end",
"(",
"animator",
"animation",
")",
"{",
"text",
"view",
"animate",
"(",
")",
"set",
"duration",
"(",
"animate",
"down",
"duration",
")",
"set",
"interpolator",
"(",
"interpolators",
"bounce",
")",
"translation",
"y",
"by",
"(",
"-",
"1",
"*",
"y",
"translation",
")",
"set",
"listener",
"(",
"null",
")",
";",
"}",
"}",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"day",
"and",
"time",
"of",
"the",
"pull",
"request",
"event",
"in",
"timestamp",
"format",
"<",
"/",
"p",
">"
]
| [
"this",
"event",
"date",
"=",
"event",
"date",
";"
]
|
[
"<",
"p",
">",
"the",
"day",
"and",
"time",
"of",
"the",
"pull",
"request",
"event",
"in",
"timestamp",
"format",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"event",
"date",
";"
]
|
[
"<",
"p",
">",
"the",
"date",
"when",
"the",
"event",
"occurred",
"<",
"/",
"p",
">"
]
| [
"set",
"event",
"date",
"(",
"event",
"date",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"event",
"message",
"<",
"/",
"p",
">"
]
| [
"set",
"message",
"(",
"message",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"application",
"associated",
"with",
"the",
"event",
"<",
"/",
"p",
">"
]
| [
"set",
"application",
"name",
"(",
"application",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"release",
"label",
"for",
"the",
"application",
"version",
"associated",
"with",
"this",
"event",
"<",
"/",
"p",
">"
]
| [
"set",
"version",
"label",
"(",
"version",
"label",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"configuration",
"associated",
"with",
"this",
"event",
"<",
"/",
"p",
">"
]
| [
"set",
"template",
"name",
"(",
"template",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"environment",
"associated",
"with",
"this",
"event",
"<",
"/",
"p",
">"
]
| [
"set",
"environment",
"name",
"(",
"environment",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"platform",
"<",
"/",
"p",
">"
]
| [
"set",
"platform",
"arn",
"(",
"platform",
"arn",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"web",
"service",
"request",
"id",
"for",
"the",
"activity",
"of",
"this",
"event",
"<",
"/",
"p",
">"
]
| [
"set",
"request",
"id",
"(",
"request",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"severity",
"level",
"of",
"this",
"event",
"<",
"/",
"p",
">"
]
| [
"set",
"severity",
"(",
"severity",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"severity",
"level",
"of",
"this",
"event",
"<",
"/",
"p",
">"
]
| [
"this",
"severity",
"=",
"severity",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"-",
"-",
"-",
"[",
"gl",
"draw",
"elements",
"base",
"vertex",
"o",
"e",
"s",
"]",
"-",
"-",
"-"
]
| [
"public",
"static",
"native",
"void",
"ngl",
"draw",
"elements",
"base",
"vertex",
"o",
"e",
"s",
"(",
"int",
"mode",
",",
"int",
"count",
",",
"int",
"type",
",",
"long",
"indices",
",",
"int",
"basevertex",
")",
";"
]
|
[
"-",
"-",
"-",
"[",
"gl",
"draw",
"range",
"elements",
"base",
"vertex",
"o",
"e",
"s",
"]",
"-",
"-",
"-"
]
| [
"public",
"static",
"native",
"void",
"ngl",
"draw",
"range",
"elements",
"base",
"vertex",
"o",
"e",
"s",
"(",
"int",
"mode",
",",
"int",
"start",
",",
"int",
"end",
",",
"int",
"count",
",",
"int",
"type",
",",
"long",
"indices",
",",
"int",
"basevertex",
")",
";"
]
|
[
"-",
"-",
"-",
"[",
"gl",
"draw",
"elements",
"instanced",
"base",
"vertex",
"o",
"e",
"s",
"]",
"-",
"-",
"-"
]
| [
"public",
"static",
"native",
"void",
"ngl",
"draw",
"elements",
"instanced",
"base",
"vertex",
"o",
"e",
"s",
"(",
"int",
"mode",
",",
"int",
"count",
",",
"int",
"type",
",",
"long",
"indices",
",",
"int",
"instancecount",
",",
"int",
"basevertex",
")",
";"
]
|
[
"-",
"-",
"-",
"[",
"gl",
"multi",
"draw",
"elements",
"base",
"vertex",
"o",
"e",
"s",
"]",
"-",
"-",
"-"
]
| [
"public",
"static",
"native",
"void",
"ngl",
"multi",
"draw",
"elements",
"base",
"vertex",
"o",
"e",
"s",
"(",
"int",
"mode",
",",
"long",
"count",
",",
"int",
"type",
",",
"long",
"indices",
",",
"int",
"primcount",
",",
"long",
"basevertex",
")",
";"
]
|
[
"{"
]
| [
"return",
"s",
"to",
"string",
"(",
"mvcc",
"first",
"row",
"tree",
"closure",
"class",
",",
"this",
")",
";"
]
|
[
"encode",
"single",
"integer",
"dimension"
]
| [
"numeric",
"utils",
"int",
"to",
"sortable",
"bytes",
"(",
"value",
",",
"dest",
",",
"offset",
")",
";"
]
|
[
"decode",
"single",
"integer",
"dimension"
]
| [
"return",
"numeric",
"utils",
"sortable",
"bytes",
"to",
"int",
"(",
"value",
",",
"offset",
")",
";"
]
|
[
"create",
"a",
"query",
"for",
"matching",
"an",
"exact",
"integer",
"value",
"<",
"p",
">",
"this",
"is",
"for",
"simple",
"one",
"-",
"dimension",
"points",
"for",
"multidimensional",
"points",
"use",
"{",
"@",
"link",
"#",
"new",
"range",
"query",
"(",
"string",
"int",
"[",
"]",
"int",
"[",
"]",
")",
"}",
"instead"
]
| [
"return",
"new",
"range",
"query",
"(",
"field",
",",
"value",
",",
"value",
")",
";"
]
|
[
"create",
"a",
"range",
"query",
"for",
"integer",
"values",
"<",
"p",
">",
"this",
"is",
"for",
"simple",
"one",
"-",
"dimension",
"ranges",
"for",
"multidimensional",
"ranges",
"use",
"{",
"@",
"link",
"#",
"new",
"range",
"query",
"(",
"string",
"int",
"[",
"]",
"int",
"[",
"]",
")",
"}",
"instead",
"<",
"p",
">",
"you",
"can",
"have",
"half",
"-",
"open",
"ranges",
"(",
"which",
"are",
"in",
"fact",
"&",
"lt",
";",
"/",
"&",
"le",
";",
"or",
"&",
"gt",
";",
"/",
"&",
"ge",
";",
"queries",
")",
"by",
"setting",
"{",
"@",
"code",
"lower",
"value",
"=",
"integer",
"min",
"value",
"}",
"or",
"{",
"@",
"code",
"upper",
"value",
"=",
"integer",
"max",
"value",
"}",
"<",
"p",
">",
"ranges",
"are",
"inclusive",
"for",
"exclusive",
"ranges",
"pass",
"{",
"@",
"code",
"math",
"add",
"exact",
"(",
"lower",
"value",
"1",
")",
"}",
"or",
"{",
"@",
"code",
"math",
"add",
"exact",
"(",
"upper",
"value",
"-",
"1",
")",
"}"
]
| [
"return",
"new",
"range",
"query",
"(",
"field",
",",
"new",
"int",
"[",
"]",
"{",
"lower",
"value",
"}",
",",
"new",
"int",
"[",
"]",
"{",
"upper",
"value",
"}",
")",
";"
]
|
[
"create",
"a",
"range",
"query",
"for",
"n",
"-",
"dimensional",
"integer",
"values",
"<",
"p",
">",
"you",
"can",
"have",
"half",
"-",
"open",
"ranges",
"(",
"which",
"are",
"in",
"fact",
"&",
"lt",
";",
"/",
"&",
"le",
";",
"or",
"&",
"gt",
";",
"/",
"&",
"ge",
";",
"queries",
")",
"by",
"setting",
"{",
"@",
"code",
"lower",
"value",
"[",
"i",
"]",
"=",
"integer",
"min",
"value",
"}",
"or",
"{",
"@",
"code",
"upper",
"value",
"[",
"i",
"]",
"=",
"integer",
"max",
"value",
"}",
"<",
"p",
">",
"ranges",
"are",
"inclusive",
"for",
"exclusive",
"ranges",
"pass",
"{",
"@",
"code",
"math",
"add",
"exact",
"(",
"lower",
"value",
"[",
"i",
"]",
"1",
")",
"}",
"or",
"{",
"@",
"code",
"math",
"add",
"exact",
"(",
"upper",
"value",
"[",
"i",
"]",
"-",
"1",
")",
"}"
]
| [
"point",
"range",
"query",
"check",
"args",
"(",
"field",
",",
"lower",
"value",
",",
"upper",
"value",
")",
";",
"return",
"new",
"point",
"range",
"query",
"(",
"field",
",",
"pack",
"(",
"lower",
"value",
")",
"bytes",
",",
"pack",
"(",
"upper",
"value",
")",
"bytes",
",",
"lower",
"value",
"length",
")",
"{",
"@",
"override",
"protected",
"string",
"to",
"string",
"(",
"int",
"dimension",
",",
"byte",
"[",
"]",
"value",
")",
"{",
"return",
"integer",
"to",
"string",
"(",
"decode",
"dimension",
"(",
"value",
",",
"0",
")",
")",
";",
"}",
"}",
";"
]
|
[
"create",
"a",
"query",
"matching",
"any",
"of",
"the",
"specified",
"1d",
"values",
"this",
"is",
"the",
"points",
"equivalent",
"of",
"{",
"@",
"code",
"terms",
"query",
"}"
]
| [
"integer",
"[",
"]",
"boxed",
"=",
"values",
"to",
"array",
"(",
"new",
"integer",
"[",
"0",
"]",
")",
";",
"int",
"[",
"]",
"unboxed",
"=",
"new",
"int",
"[",
"boxed",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"boxed",
"length",
";",
"i",
"+",
"+",
")",
"{",
"unboxed",
"[",
"i",
"]",
"=",
"boxed",
"[",
"i",
"]",
";",
"}",
"return",
"new",
"set",
"query",
"(",
"field",
",",
"unboxed",
")",
";"
]
|
[
"<",
"p",
">",
"a",
"list",
"of",
"a",
"r",
"ns",
"that",
"specifies",
"the",
"assessment",
"targets",
"that",
"are",
"returned",
"by",
"the",
"action",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"assessment",
"target",
"arns",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"assessment",
"target",
"arns",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"assessment",
"target",
"arns",
"=",
"=",
"null",
")",
"{",
"set",
"assessment",
"target",
"arns",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"assessment",
"target",
"arns",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"assessment",
"target",
"arns",
")",
"{",
"this",
"assessment",
"target",
"arns",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"a",
"list",
"of",
"a",
"r",
"ns",
"that",
"specifies",
"the",
"assessment",
"targets",
"that",
"are",
"returned",
"by",
"the",
"action",
"<",
"/",
"p",
">"
]
| [
"set",
"assessment",
"target",
"arns",
"(",
"assessment",
"target",
"arns",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"when",
"a",
"response",
"is",
"generated",
"if",
"there",
"is",
"more",
"data",
"to",
"be",
"listed",
"this",
"parameter",
"is",
"present",
"in",
"the",
"response",
"and",
"contains",
"the",
"value",
"to",
"use",
"for",
"the",
"<",
"b",
">",
"next",
"token",
"<",
"/",
"b",
">",
"parameter",
"in",
"a",
"subsequent",
"pagination",
"request",
"if",
"there",
"is",
"no",
"more",
"data",
"to",
"be",
"listed",
"this",
"parameter",
"is",
"set",
"to",
"null",
"<",
"/",
"p",
">"
]
| [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
]
|
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
]
| [
"super",
"set",
"card",
"list",
"view",
"(",
"card",
"list",
"view",
")",
";",
"m",
"helper",
"set",
"adapter",
"view",
"(",
"card",
"list",
"view",
")",
";"
]
|
[
"return",
"the",
"number",
"of",
"rows"
]
| [
"return",
"time",
"length",
";"
]
|
[
"return",
"a",
"row",
"s",
"timestamp",
"get",
"time",
"(",
")",
"value",
"we",
"assume",
"the",
"entry",
"has",
"already",
"been",
"null",
"checked",
"and",
"is",
"repeated",
"adjusted"
]
| [
"return",
"time",
"[",
"element",
"num",
"]",
";"
]
|
[
"return",
"a",
"row",
"s",
"timestamp",
"get",
"nanos",
"(",
")",
"value",
"we",
"assume",
"the",
"entry",
"has",
"already",
"been",
"null",
"checked",
"and",
"is",
"repeated",
"adjusted"
]
| [
"return",
"nanos",
"[",
"element",
"num",
"]",
";"
]
|
[
"set",
"a",
"timestamp",
"object",
"from",
"a",
"row",
"of",
"the",
"column",
"we",
"assume",
"the",
"entry",
"has",
"already",
"been",
"null",
"checked",
"and",
"is",
"repeated",
"adjusted"
]
| [
"timestamp",
"set",
"time",
"(",
"time",
"[",
"element",
"num",
"]",
")",
";",
"timestamp",
"set",
"nanos",
"(",
"nanos",
"[",
"element",
"num",
"]",
")",
";"
]
|
[
"return",
"the",
"scratch",
"timestamp",
"object",
"set",
"from",
"a",
"row",
"we",
"assume",
"the",
"entry",
"has",
"already",
"been",
"null",
"checked",
"and",
"is",
"repeated",
"adjusted"
]
| [
"scratch",
"timestamp",
"set",
"time",
"(",
"time",
"[",
"element",
"num",
"]",
")",
";",
"scratch",
"timestamp",
"set",
"nanos",
"(",
"nanos",
"[",
"element",
"num",
"]",
")",
";",
"return",
"scratch",
"timestamp",
";"
]
|
[
"return",
"the",
"scratch",
"timestamp",
"(",
"contents",
"undefined",
")"
]
| [
"return",
"scratch",
"timestamp",
";"
]
|
[
"return",
"a",
"long",
"representation",
"of",
"a",
"timestamp"
]
| [
"scratch",
"timestamp",
"set",
"time",
"(",
"time",
"[",
"element",
"num",
"]",
")",
";",
"scratch",
"timestamp",
"set",
"nanos",
"(",
"nanos",
"[",
"element",
"num",
"]",
")",
";",
"return",
"get",
"timestamp",
"as",
"long",
"(",
"scratch",
"timestamp",
")",
";"
]
|
[
"return",
"a",
"long",
"representation",
"of",
"a",
"timestamp"
]
| [
"return",
"millis",
"to",
"seconds",
"(",
"timestamp",
"get",
"time",
"(",
")",
")",
";"
]
|
[
"rounds",
"the",
"number",
"of",
"milliseconds",
"relative",
"to",
"the",
"epoch",
"down",
"to",
"the",
"nearest",
"whole",
"number",
"of",
"seconds",
"500",
"would",
"round",
"to",
"0",
"-",
"500",
"would",
"round",
"to",
"-",
"1"
]
| [
"if",
"(",
"millis",
">",
"=",
"0",
")",
"{",
"return",
"millis",
"/",
"1000",
";",
"}",
"else",
"{",
"return",
"(",
"millis",
"-",
"999",
")",
"/",
"1000",
";",
"}"
]
|
[
"return",
"a",
"double",
"representation",
"of",
"a",
"timestamp"
]
| [
"scratch",
"timestamp",
"set",
"time",
"(",
"time",
"[",
"element",
"num",
"]",
")",
";",
"scratch",
"timestamp",
"set",
"nanos",
"(",
"nanos",
"[",
"element",
"num",
"]",
")",
";",
"return",
"get",
"double",
"(",
"scratch",
"timestamp",
")",
";"
]
|
[
"compare",
"row",
"to",
"timestamp",
"we",
"assume",
"the",
"entry",
"has",
"already",
"been",
"null",
"checked",
"and",
"is",
"repeated",
"adjusted"
]
| [
"return",
"as",
"scratch",
"timestamp",
"(",
"element",
"num",
")",
"compare",
"to",
"(",
"timestamp",
")",
";"
]
|
[
"compare",
"timestamp",
"to",
"row",
"we",
"assume",
"the",
"entry",
"has",
"already",
"been",
"null",
"checked",
"and",
"is",
"repeated",
"adjusted"
]
| [
"return",
"timestamp",
"compare",
"to",
"(",
"as",
"scratch",
"timestamp",
"(",
"element",
"num",
")",
")",
";"
]
|
[
"compare",
"a",
"row",
"to",
"another",
"timestamp",
"column",
"vector",
"s",
"row"
]
| [
"return",
"as",
"scratch",
"timestamp",
"(",
"element",
"num",
"1",
")",
"compare",
"to",
"(",
"timestamp",
"col",
"vector",
"2",
"as",
"scratch",
"timestamp",
"(",
"element",
"num",
"2",
")",
")",
";"
]
|
[
"compare",
"another",
"timestamp",
"column",
"vector",
"s",
"row",
"to",
"a",
"row"
]
| [
"return",
"timestamp",
"col",
"vector",
"1",
"as",
"scratch",
"timestamp",
"(",
"element",
"num",
"1",
")",
"compare",
"to",
"(",
"as",
"scratch",
"timestamp",
"(",
"element",
"num",
"2",
")",
")",
";"
]
|
[
"with",
"many",
"arguments"
]
| [
"flatten",
"push",
"(",
")",
";",
"if",
"(",
"is",
"repeating",
")",
"{",
"is",
"repeating",
"=",
"false",
";",
"long",
"repeat",
"fast",
"time",
"=",
"time",
"[",
"0",
"]",
";",
"int",
"repeat",
"nanos",
"=",
"nanos",
"[",
"0",
"]",
";",
"if",
"(",
"selected",
"in",
"use",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"size",
";",
"j",
"+",
"+",
")",
"{",
"int",
"i",
"=",
"sel",
"[",
"j",
"]",
";",
"time",
"[",
"i",
"]",
"=",
"repeat",
"fast",
"time",
";",
"nanos",
"[",
"i",
"]",
"=",
"repeat",
"nanos",
";",
"}",
"}",
"else",
"{",
"arrays",
"fill",
"(",
"time",
",",
"0",
",",
"size",
",",
"repeat",
"fast",
"time",
")",
";",
"arrays",
"fill",
"(",
"nanos",
",",
"0",
",",
"size",
",",
"repeat",
"nanos",
")",
";",
"}",
"flatten",
"repeating",
"nulls",
"(",
"selected",
"in",
"use",
",",
"sel",
",",
"size",
")",
";",
"}",
"flatten",
"no",
"nulls",
"(",
"selected",
"in",
"use",
",",
"sel",
",",
"size",
")",
";"
]
|
[
"set",
"a",
"field",
"from",
"a",
"timestamp"
]
| [
"if",
"(",
"timestamp",
"=",
"=",
"null",
")",
"{",
"is",
"null",
"[",
"element",
"num",
"]",
"=",
"true",
";",
"no",
"nulls",
"=",
"false",
";",
"return",
";",
"}",
"this",
"time",
"[",
"element",
"num",
"]",
"=",
"timestamp",
"get",
"time",
"(",
")",
";",
"this",
"nanos",
"[",
"element",
"num",
"]",
"=",
"timestamp",
"get",
"nanos",
"(",
")",
";"
]
|
[
"set",
"a",
"field",
"from",
"the",
"current",
"value",
"in",
"the",
"scratch",
"timestamp"
]
| [
"this",
"time",
"[",
"element",
"num",
"]",
"=",
"scratch",
"timestamp",
"get",
"time",
"(",
")",
";",
"this",
"nanos",
"[",
"element",
"num",
"]",
"=",
"scratch",
"timestamp",
"get",
"nanos",
"(",
")",
";"
]
|
[
"set",
"row",
"to",
"standard",
"null",
"value",
"(",
"s",
")",
"we",
"assume",
"the",
"entry",
"has",
"already",
"been",
"is",
"repeated",
"adjusted"
]
| [
"time",
"[",
"element",
"num",
"]",
"=",
"0",
";",
"nanos",
"[",
"element",
"num",
"]",
"=",
"1",
";"
]
|
[
"fill",
"all",
"the",
"vector",
"entries",
"with",
"a",
"timestamp"
]
| [
"is",
"repeating",
"=",
"true",
";",
"is",
"null",
"[",
"0",
"]",
"=",
"false",
";",
"time",
"[",
"0",
"]",
"=",
"timestamp",
"get",
"time",
"(",
")",
";",
"nanos",
"[",
"0",
"]",
"=",
"timestamp",
"get",
"nanos",
"(",
")",
";"
]
|
[
"return",
"the",
"value",
"for",
"the",
"utc",
"boolean",
"variable"
]
| [
"return",
"this",
"is",
"u",
"t",
"c",
";"
]
|
[
"set",
"the",
"utc",
"boolean",
"variable"
]
| [
"this",
"is",
"u",
"t",
"c",
"=",
"value",
";"
]
|
[
"<",
"p",
">",
"sets",
"whether",
"dkim",
"signing",
"is",
"enabled",
"for",
"an",
"identity",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"to",
"enable",
"dkim",
"signing",
"for",
"this",
"identity",
";",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"to",
"disable",
"it",
"<",
"/",
"p",
">"
]
| [
"this",
"dkim",
"enabled",
"=",
"dkim",
"enabled",
";"
]
|
[
"<",
"p",
">",
"sets",
"whether",
"dkim",
"signing",
"is",
"enabled",
"for",
"an",
"identity",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"to",
"enable",
"dkim",
"signing",
"for",
"this",
"identity",
";",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"to",
"disable",
"it",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"dkim",
"enabled",
";"
]
|
[
"<",
"p",
">",
"true",
"if",
"dkim",
"signing",
"is",
"enabled",
"for",
"email",
"sent",
"from",
"the",
"identity",
";",
"false",
"otherwise",
"the",
"default",
"value",
"is",
"true",
"<",
"/",
"p",
">"
]
| [
"set",
"dkim",
"enabled",
"(",
"dkim",
"enabled",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"sets",
"whether",
"dkim",
"signing",
"is",
"enabled",
"for",
"an",
"identity",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"to",
"enable",
"dkim",
"signing",
"for",
"this",
"identity",
";",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"to",
"disable",
"it",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"dkim",
"enabled",
";"
]
|
[
"<",
"p",
">",
"describes",
"whether",
"amazon",
"ses",
"has",
"successfully",
"verified",
"the",
"dkim",
"dns",
"records",
"(",
"tokens",
")",
"published",
"in",
"the",
"domain",
"name",
"s",
"dns",
"(",
"this",
"only",
"applies",
"to",
"domain",
"identities",
"not",
"email",
"address",
"identities",
")",
"<",
"/",
"p",
">"
]
| [
"this",
"dkim",
"verification",
"status",
"=",
"dkim",
"verification",
"status",
";"
]
|
[
"<",
"p",
">",
"describes",
"whether",
"amazon",
"ses",
"has",
"successfully",
"verified",
"the",
"dkim",
"dns",
"records",
"(",
"tokens",
")",
"published",
"in",
"the",
"domain",
"name",
"s",
"dns",
"(",
"this",
"only",
"applies",
"to",
"domain",
"identities",
"not",
"email",
"address",
"identities",
")",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"dkim",
"verification",
"status",
";"
]
|
[
"<",
"p",
">",
"describes",
"whether",
"amazon",
"ses",
"has",
"successfully",
"verified",
"the",
"dkim",
"dns",
"records",
"(",
"tokens",
")",
"published",
"in",
"the",
"domain",
"name",
"s",
"dns",
"(",
"this",
"only",
"applies",
"to",
"domain",
"identities",
"not",
"email",
"address",
"identities",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"dkim",
"verification",
"status",
"(",
"dkim",
"verification",
"status",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"describes",
"whether",
"amazon",
"ses",
"has",
"successfully",
"verified",
"the",
"dkim",
"dns",
"records",
"(",
"tokens",
")",
"published",
"in",
"the",
"domain",
"name",
"s",
"dns",
"(",
"this",
"only",
"applies",
"to",
"domain",
"identities",
"not",
"email",
"address",
"identities",
")",
"<",
"/",
"p",
">"
]
| [
"with",
"dkim",
"verification",
"status",
"(",
"dkim",
"verification",
"status",
")",
";"
]
|
[
"<",
"p",
">",
"describes",
"whether",
"amazon",
"ses",
"has",
"successfully",
"verified",
"the",
"dkim",
"dns",
"records",
"(",
"tokens",
")",
"published",
"in",
"the",
"domain",
"name",
"s",
"dns",
"(",
"this",
"only",
"applies",
"to",
"domain",
"identities",
"not",
"email",
"address",
"identities",
")",
"<",
"/",
"p",
">"
]
| [
"this",
"dkim",
"verification",
"status",
"=",
"dkim",
"verification",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"a",
"set",
"of",
"character",
"strings",
"that",
"represent",
"the",
"domain",
"s",
"identity",
"using",
"these",
"tokens",
"you",
"will",
"need",
"to",
"create",
"dns",
"cname",
"records",
"that",
"point",
"to",
"dkim",
"public",
"keys",
"hosted",
"by",
"amazon",
"ses",
"amazon",
"web",
"services",
"will",
"eventually",
"detect",
"that",
"you",
"have",
"updated",
"your",
"dns",
"records",
";",
"this",
"detection",
"process",
"may",
"take",
"up",
"to",
"72",
"hours",
"upon",
"successful",
"detection",
"amazon",
"ses",
"will",
"be",
"able",
"to",
"dkim",
"-",
"sign",
"email",
"originating",
"from",
"that",
"domain",
"(",
"this",
"only",
"applies",
"to",
"domain",
"identities",
"not",
"email",
"address",
"identities",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"more",
"information",
"about",
"creating",
"dns",
"records",
"using",
"dkim",
"tokens",
"go",
"to",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"ses",
"/",
"latest",
"/",
"developer",
"guide",
"/",
"easy",
"-",
"dkim",
"-",
"dns",
"-",
"records",
"html",
">",
"amazon",
"ses",
"developer",
"guide",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"dkim",
"tokens",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"dkim",
"tokens",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"dkim",
"tokens",
"=",
"=",
"null",
")",
"{",
"set",
"dkim",
"tokens",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"dkim",
"tokens",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"dkim",
"tokens",
")",
"{",
"this",
"dkim",
"tokens",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"a",
"set",
"of",
"character",
"strings",
"that",
"represent",
"the",
"domain",
"s",
"identity",
"using",
"these",
"tokens",
"you",
"will",
"need",
"to",
"create",
"dns",
"cname",
"records",
"that",
"point",
"to",
"dkim",
"public",
"keys",
"hosted",
"by",
"amazon",
"ses",
"amazon",
"web",
"services",
"will",
"eventually",
"detect",
"that",
"you",
"have",
"updated",
"your",
"dns",
"records",
";",
"this",
"detection",
"process",
"may",
"take",
"up",
"to",
"72",
"hours",
"upon",
"successful",
"detection",
"amazon",
"ses",
"will",
"be",
"able",
"to",
"dkim",
"-",
"sign",
"email",
"originating",
"from",
"that",
"domain",
"(",
"this",
"only",
"applies",
"to",
"domain",
"identities",
"not",
"email",
"address",
"identities",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"more",
"information",
"about",
"creating",
"dns",
"records",
"using",
"dkim",
"tokens",
"go",
"to",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"ses",
"/",
"latest",
"/",
"developer",
"guide",
"/",
"easy",
"-",
"dkim",
"-",
"dns",
"-",
"records",
"html",
">",
"amazon",
"ses",
"developer",
"guide",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"dkim",
"tokens",
"(",
"dkim",
"tokens",
")",
";",
"return",
"this",
";"
]
|
[
"best",
"-",
"effort",
"equals",
"method",
";",
"relies",
"on",
"aggregator",
"factory",
"equals",
"which",
"is",
"not",
"guaranteed",
"to",
"be",
"sanely",
"implemented"
]
| [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"segment",
"analysis",
"that",
"=",
"(",
"segment",
"analysis",
")",
"o",
";",
"return",
"size",
"=",
"=",
"that",
"size",
"&",
"&",
"num",
"rows",
"=",
"=",
"that",
"num",
"rows",
"&",
"&",
"rollup",
"=",
"=",
"that",
"rollup",
"&",
"&",
"objects",
"equals",
"(",
"id",
",",
"that",
"id",
")",
"&",
"&",
"objects",
"equals",
"(",
"interval",
",",
"that",
"interval",
")",
"&",
"&",
"objects",
"equals",
"(",
"columns",
",",
"that",
"columns",
")",
"&",
"&",
"objects",
"equals",
"(",
"aggregators",
",",
"that",
"aggregators",
")",
"&",
"&",
"objects",
"equals",
"(",
"timestamp",
"spec",
",",
"that",
"timestamp",
"spec",
")",
"&",
"&",
"objects",
"equals",
"(",
"query",
"granularity",
",",
"that",
"query",
"granularity",
")",
";"
]
|
[
"best",
"-",
"effort",
"hash",
"code",
"method",
";",
"relies",
"on",
"aggregator",
"factory",
"hash",
"code",
"which",
"is",
"not",
"guaranteed",
"to",
"be",
"sanely",
"implemented"
]
| [
"return",
"objects",
"hash",
"(",
"id",
",",
"interval",
",",
"columns",
",",
"size",
",",
"num",
"rows",
",",
"aggregators",
",",
"timestamp",
"spec",
",",
"query",
"granularity",
",",
"rollup",
")",
";"
]
|
[
"gets",
"total",
"number",
"of",
"tasks",
"handled",
"by",
"the",
"node"
]
| [
"return",
"total",
"exec",
"tasks",
";"
]
|
[
"gets",
"percentage",
"of",
"time",
"this",
"node",
"is",
"busy",
"executing",
"jobs",
"vs",
"idling"
]
| [
"return",
"1",
"-",
"get",
"idle",
"time",
"percentage",
"(",
")",
";"
]
|
[
"gets",
"percentage",
"of",
"time",
"this",
"node",
"is",
"idling",
"vs",
"executing",
"jobs"
]
| [
"return",
"get",
"total",
"idle",
"time",
"(",
")",
"/",
"(",
"float",
")",
"get",
"up",
"time",
"(",
")",
";"
]
|
[
"returns",
"the",
"number",
"of",
"c",
"p",
"us",
"available",
"to",
"the",
"java",
"virtual",
"machine",
"this",
"method",
"is",
"equivalent",
"to",
"the",
"{",
"@",
"link",
"runtime",
"#",
"available",
"processors",
"(",
")",
"}",
"method",
"<",
"p",
">",
"note",
"that",
"this",
"value",
"may",
"change",
"during",
"successive",
"invocations",
"of",
"the",
"virtual",
"machine"
]
| [
"return",
"avail",
"procs",
";"
]
|
[
"returns",
"the",
"system",
"load",
"average",
"for",
"the",
"last",
"minute",
"the",
"system",
"load",
"average",
"is",
"the",
"sum",
"of",
"the",
"number",
"of",
"runnable",
"entities",
"queued",
"to",
"the",
"{",
"@",
"linkplain",
"#",
"get",
"total",
"cpus",
"available",
"processors",
"}",
"and",
"the",
"number",
"of",
"runnable",
"entities",
"running",
"on",
"the",
"available",
"processors",
"averaged",
"over",
"a",
"period",
"of",
"time",
"the",
"way",
"in",
"which",
"the",
"load",
"average",
"is",
"calculated",
"is",
"operating",
"system",
"specific",
"but",
"is",
"typically",
"a",
"damped",
"time",
"-",
"dependent",
"average",
"<",
"p",
">",
"if",
"the",
"load",
"average",
"is",
"not",
"available",
"a",
"negative",
"value",
"is",
"returned",
"<",
"p",
">",
"this",
"method",
"is",
"designed",
"to",
"provide",
"a",
"hint",
"about",
"the",
"system",
"load",
"and",
"may",
"be",
"queried",
"frequently",
"the",
"load",
"average",
"may",
"be",
"unavailable",
"on",
"some",
"platform",
"where",
"it",
"is",
"expensive",
"to",
"implement",
"this",
"method"
]
| [
"return",
"load",
";"
]
|
[
"gets",
"average",
"of",
"cpu",
"load",
"values",
"over",
"all",
"metrics",
"kept",
"in",
"the",
"history"
]
| [
"return",
"avg",
"load",
";"
]
|
[
"returns",
"average",
"cpu",
"spent",
"for",
"cg",
"since",
"the",
"last",
"update"
]
| [
"return",
"gc",
"load",
";"
]
|
[
"returns",
"the",
"amount",
"of",
"heap",
"memory",
"in",
"bytes",
"that",
"the",
"java",
"virtual",
"machine",
"initially",
"requests",
"from",
"the",
"operating",
"system",
"for",
"memory",
"management",
"this",
"method",
"returns",
"{",
"@",
"code",
"-",
"1",
"}",
"if",
"the",
"initial",
"memory",
"size",
"is",
"undefined"
]
| [
"return",
"heap",
"init",
";"
]
|
[
"returns",
"the",
"current",
"heap",
"size",
"that",
"is",
"used",
"for",
"object",
"allocation",
"the",
"heap",
"consists",
"of",
"one",
"or",
"more",
"memory",
"pools",
"this",
"value",
"is",
"the",
"sum",
"of",
"{",
"@",
"code",
"used",
"}",
"heap",
"memory",
"values",
"of",
"all",
"heap",
"memory",
"pools",
"<",
"p",
">",
"the",
"amount",
"of",
"used",
"memory",
"in",
"the",
"returned",
"is",
"the",
"amount",
"of",
"memory",
"occupied",
"by",
"both",
"live",
"objects",
"and",
"garbage",
"objects",
"that",
"have",
"not",
"been",
"collected",
"if",
"any",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup"
]
| [
"return",
"heap",
"used",
";"
]
|
[
"returns",
"the",
"amount",
"of",
"heap",
"memory",
"in",
"bytes",
"that",
"is",
"committed",
"for",
"the",
"java",
"virtual",
"machine",
"to",
"use",
"this",
"amount",
"of",
"memory",
"is",
"guaranteed",
"for",
"the",
"java",
"virtual",
"machine",
"to",
"use",
"the",
"heap",
"consists",
"of",
"one",
"or",
"more",
"memory",
"pools",
"this",
"value",
"is",
"the",
"sum",
"of",
"{",
"@",
"code",
"committed",
"}",
"heap",
"memory",
"values",
"of",
"all",
"heap",
"memory",
"pools",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup"
]
| [
"return",
"heap",
"committed",
";"
]
|
[
"returns",
"the",
"maximum",
"amount",
"of",
"heap",
"memory",
"in",
"bytes",
"that",
"can",
"be",
"used",
"for",
"memory",
"management",
"this",
"method",
"returns",
"{",
"@",
"code",
"-",
"1",
"}",
"if",
"the",
"maximum",
"memory",
"size",
"is",
"undefined",
"<",
"p",
">",
"this",
"amount",
"of",
"memory",
"is",
"not",
"guaranteed",
"to",
"be",
"available",
"for",
"memory",
"management",
"if",
"it",
"is",
"greater",
"than",
"the",
"amount",
"of",
"committed",
"memory",
"the",
"java",
"virtual",
"machine",
"may",
"fail",
"to",
"allocate",
"memory",
"even",
"if",
"the",
"amount",
"of",
"used",
"memory",
"does",
"not",
"exceed",
"this",
"maximum",
"size",
"<",
"p",
">",
"this",
"value",
"represents",
"a",
"setting",
"of",
"the",
"heap",
"memory",
"for",
"java",
"vm",
"and",
"is",
"not",
"a",
"sum",
"of",
"all",
"initial",
"heap",
"values",
"for",
"all",
"memory",
"pools",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup"
]
| [
"return",
"heap",
"max",
";"
]
|
[
"returns",
"the",
"amount",
"of",
"non",
"-",
"heap",
"memory",
"in",
"bytes",
"that",
"the",
"java",
"virtual",
"machine",
"initially",
"requests",
"from",
"the",
"operating",
"system",
"for",
"memory",
"management",
"this",
"method",
"returns",
"{",
"@",
"code",
"-",
"1",
"}",
"if",
"the",
"initial",
"memory",
"size",
"is",
"undefined",
"<",
"p",
">",
"this",
"value",
"represents",
"a",
"setting",
"of",
"non",
"-",
"heap",
"memory",
"for",
"java",
"vm",
"and",
"is",
"not",
"a",
"sum",
"of",
"all",
"initial",
"heap",
"values",
"for",
"all",
"memory",
"pools",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup"
]
| [
"return",
"non",
"heap",
"init",
";"
]
|
[
"returns",
"the",
"current",
"non",
"-",
"heap",
"memory",
"size",
"that",
"is",
"used",
"by",
"java",
"vm",
"the",
"non",
"-",
"heap",
"memory",
"consists",
"of",
"one",
"or",
"more",
"memory",
"pools",
"this",
"value",
"is",
"the",
"sum",
"of",
"{",
"@",
"code",
"used",
"}",
"non",
"-",
"heap",
"memory",
"values",
"of",
"all",
"non",
"-",
"heap",
"memory",
"pools",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup"
]
| [
"return",
"non",
"heap",
"used",
";"
]
|
[
"returns",
"the",
"amount",
"of",
"non",
"-",
"heap",
"memory",
"in",
"bytes",
"that",
"is",
"committed",
"for",
"the",
"java",
"virtual",
"machine",
"to",
"use",
"this",
"amount",
"of",
"memory",
"is",
"guaranteed",
"for",
"the",
"java",
"virtual",
"machine",
"to",
"use",
"the",
"non",
"-",
"heap",
"memory",
"consists",
"of",
"one",
"or",
"more",
"memory",
"pools",
"this",
"value",
"is",
"the",
"sum",
"of",
"{",
"@",
"code",
"committed",
"}",
"non",
"-",
"heap",
"memory",
"values",
"of",
"all",
"non",
"-",
"heap",
"memory",
"pools",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup"
]
| [
"return",
"non",
"heap",
"committed",
";"
]
|
[
"returns",
"the",
"maximum",
"amount",
"of",
"non",
"-",
"heap",
"memory",
"in",
"bytes",
"that",
"can",
"be",
"used",
"for",
"memory",
"management",
"this",
"method",
"returns",
"{",
"@",
"code",
"-",
"1",
"}",
"if",
"the",
"maximum",
"memory",
"size",
"is",
"undefined",
"<",
"p",
">",
"this",
"amount",
"of",
"memory",
"is",
"not",
"guaranteed",
"to",
"be",
"available",
"for",
"memory",
"management",
"if",
"it",
"is",
"greater",
"than",
"the",
"amount",
"of",
"committed",
"memory",
"the",
"java",
"virtual",
"machine",
"may",
"fail",
"to",
"allocate",
"memory",
"even",
"if",
"the",
"amount",
"of",
"used",
"memory",
"does",
"not",
"exceed",
"this",
"maximum",
"size",
"<",
"p",
">",
"this",
"value",
"represents",
"a",
"setting",
"of",
"the",
"non",
"-",
"heap",
"memory",
"for",
"java",
"vm",
"and",
"is",
"not",
"a",
"sum",
"of",
"all",
"initial",
"non",
"-",
"heap",
"values",
"for",
"all",
"memory",
"pools",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup"
]
| [
"return",
"non",
"heap",
"max",
";"
]
|
[
"returns",
"the",
"uptime",
"of",
"the",
"java",
"virtual",
"machine",
"in",
"milliseconds"
]
| [
"return",
"up",
"time",
";"
]
|
[
"returns",
"the",
"start",
"time",
"of",
"grid",
"node",
"in",
"milliseconds",
"there",
"can",
"be",
"several",
"grid",
"nodes",
"started",
"in",
"one",
"jvm",
"so",
"jvm",
"start",
"time",
"will",
"be",
"the",
"same",
"for",
"all",
"of",
"them",
"but",
"node",
"start",
"time",
"will",
"be",
"different"
]
| [
"return",
"node",
"start",
"time",
";"
]
|
[
"returns",
"the",
"current",
"number",
"of",
"live",
"threads",
"including",
"both",
"daemon",
"and",
"non",
"-",
"daemon",
"threads"
]
| [
"return",
"thread",
"cnt",
";"
]
|
[
"returns",
"the",
"maximum",
"live",
"thread",
"count",
"since",
"the",
"java",
"virtual",
"machine",
"started",
"or",
"peak",
"was",
"reset",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup"
]
| [
"return",
"peak",
"thread",
"cnt",
";"
]
|
[
"returns",
"the",
"total",
"number",
"of",
"threads",
"created",
"and",
"also",
"started",
"since",
"the",
"java",
"virtual",
"machine",
"started",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"is",
"<",
"b",
">",
"not",
"<",
"/",
"b",
">",
"an",
"aggregated",
"metric",
"and",
"it",
"s",
"calculated",
"from",
"the",
"time",
"of",
"the",
"node",
"s",
"startup"
]
| [
"return",
"started",
"thread",
"cnt",
";"
]
|
[
"returns",
"the",
"current",
"number",
"of",
"live",
"daemon",
"threads"
]
| [
"return",
"daemon",
"thread",
"cnt",
";"
]
|
[
"returns",
"the",
"number",
"of",
"unallocated",
"bytes",
"in",
"the",
"partition"
]
| [
"return",
"file",
"sys",
"free",
"space",
";"
]
|
[
"returns",
"the",
"size",
"of",
"the",
"partition"
]
| [
"return",
"file",
"sys",
"total",
"space",
";"
]
|
[
"returns",
"the",
"number",
"of",
"bytes",
"available",
"to",
"this",
"virtual",
"machine",
"on",
"the",
"partition"
]
| [
"return",
"file",
"sys",
"usable",
"space",
";"
]
|
[
"in",
"-",
"memory",
"data",
"grid",
"assigns",
"incremental",
"versions",
"to",
"all",
"cache",
"operations",
"this",
"method",
"provides",
"the",
"latest",
"data",
"version",
"on",
"the",
"node"
]
| [
"return",
"last",
"data",
"ver",
";"
]
|
[
"gets",
"sent",
"messages",
"count"
]
| [
"return",
"sent",
"msgs",
"cnt",
";"
]
|
[
"gets",
"sent",
"bytes",
"count"
]
| [
"return",
"sent",
"bytes",
"cnt",
";"
]
|
[
"gets",
"received",
"messages",
"count"
]
| [
"return",
"rcvd",
"msgs",
"cnt",
";"
]
|
[
"gets",
"received",
"bytes",
"count"
]
| [
"return",
"rcvd",
"bytes",
"cnt",
";"
]
|
[
"{"
]
| [
"if",
"(",
"this",
"=",
"=",
"obj",
")",
"return",
"true",
";",
"if",
"(",
"obj",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"obj",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"grid",
"client",
"node",
"metrics",
"bean",
"other",
"=",
"(",
"grid",
"client",
"node",
"metrics",
"bean",
")",
"obj",
";",
"return",
"avail",
"procs",
"=",
"=",
"other",
"avail",
"procs",
"&",
"&",
"cur",
"active",
"jobs",
"=",
"=",
"other",
"cur",
"active",
"jobs",
"&",
"&",
"cur",
"cancelled",
"jobs",
"=",
"=",
"other",
"cur",
"cancelled",
"jobs",
"&",
"&",
"cur",
"idle",
"time",
"=",
"=",
"other",
"cur",
"idle",
"time",
"&",
"&",
"cur",
"job",
"exec",
"time",
"=",
"=",
"other",
"cur",
"job",
"exec",
"time",
"&",
"&",
"cur",
"job",
"wait",
"time",
"=",
"=",
"other",
"cur",
"job",
"wait",
"time",
"&",
"&",
"cur",
"rejected",
"jobs",
"=",
"=",
"other",
"cur",
"rejected",
"jobs",
"&",
"&",
"cur",
"waiting",
"jobs",
"=",
"=",
"other",
"cur",
"waiting",
"jobs",
"&",
"&",
"daemon",
"thread",
"cnt",
"=",
"=",
"other",
"daemon",
"thread",
"cnt",
"&",
"&",
"heap",
"committed",
"=",
"=",
"other",
"heap",
"committed",
"&",
"&",
"heap",
"init",
"=",
"=",
"other",
"heap",
"init",
"&",
"&",
"heap",
"max",
"=",
"=",
"other",
"heap",
"max",
"&",
"&",
"heap",
"used",
"=",
"=",
"other",
"heap",
"used",
"&",
"&",
"max",
"active",
"jobs",
"=",
"=",
"other",
"max",
"active",
"jobs",
"&",
"&",
"max",
"cancelled",
"jobs",
"=",
"=",
"other",
"max",
"cancelled",
"jobs",
"&",
"&",
"max",
"job",
"exec",
"time",
"=",
"=",
"other",
"max",
"job",
"exec",
"time",
"&",
"&",
"max",
"job",
"wait",
"time",
"=",
"=",
"other",
"max",
"job",
"wait",
"time",
"&",
"&",
"max",
"rejected",
"jobs",
"=",
"=",
"other",
"max",
"rejected",
"jobs",
"&",
"&",
"max",
"waiting",
"jobs",
"=",
"=",
"other",
"max",
"waiting",
"jobs",
"&",
"&",
"non",
"heap",
"committed",
"=",
"=",
"other",
"non",
"heap",
"committed",
"&",
"&",
"non",
"heap",
"init",
"=",
"=",
"other",
"non",
"heap",
"init",
"&",
"&",
"non",
"heap",
"max",
"=",
"=",
"other",
"non",
"heap",
"max",
"&",
"&",
"non",
"heap",
"used",
"=",
"=",
"other",
"non",
"heap",
"used",
"&",
"&",
"peak",
"thread",
"cnt",
"=",
"=",
"other",
"peak",
"thread",
"cnt",
"&",
"&",
"start",
"time",
"=",
"=",
"other",
"start",
"time",
"&",
"&",
"node",
"start",
"time",
"=",
"=",
"other",
"node",
"start",
"time",
"&",
"&",
"started",
"thread",
"cnt",
"=",
"=",
"other",
"started",
"thread",
"cnt",
"&",
"&",
"thread",
"cnt",
"=",
"=",
"other",
"thread",
"cnt",
"&",
"&",
"total",
"cancelled",
"jobs",
"=",
"=",
"other",
"total",
"cancelled",
"jobs",
"&",
"&",
"total",
"executed",
"jobs",
"=",
"=",
"other",
"total",
"executed",
"jobs",
"&",
"&",
"total",
"idle",
"time",
"=",
"=",
"other",
"total",
"idle",
"time",
"&",
"&",
"total",
"rejected",
"jobs",
"=",
"=",
"other",
"total",
"rejected",
"jobs",
"&",
"&",
"file",
"sys",
"free",
"space",
"=",
"=",
"other",
"file",
"sys",
"free",
"space",
"&",
"&",
"file",
"sys",
"total",
"space",
"=",
"=",
"other",
"file",
"sys",
"total",
"space",
"&",
"&",
"file",
"sys",
"usable",
"space",
"=",
"=",
"other",
"file",
"sys",
"usable",
"space",
"&",
"&",
"total",
"exec",
"tasks",
"=",
"=",
"other",
"total",
"exec",
"tasks",
"&",
"&",
"sent",
"msgs",
"cnt",
"=",
"=",
"other",
"sent",
"msgs",
"cnt",
"&",
"&",
"sent",
"bytes",
"cnt",
"=",
"=",
"other",
"sent",
"bytes",
"cnt",
"&",
"&",
"rcvd",
"msgs",
"cnt",
"=",
"=",
"other",
"rcvd",
"msgs",
"cnt",
"&",
"&",
"rcvd",
"bytes",
"cnt",
"=",
"=",
"other",
"rcvd",
"bytes",
"cnt",
"&",
"&",
"up",
"time",
"=",
"=",
"other",
"up",
"time",
";"
]
|
[
"{"
]
| [
"out",
"write",
"long",
"(",
"last",
"update",
"time",
")",
";",
"out",
"write",
"int",
"(",
"max",
"active",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"cur",
"active",
"jobs",
")",
";",
"out",
"write",
"float",
"(",
"avg",
"active",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"max",
"waiting",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"cur",
"waiting",
"jobs",
")",
";",
"out",
"write",
"float",
"(",
"avg",
"waiting",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"max",
"rejected",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"cur",
"rejected",
"jobs",
")",
";",
"out",
"write",
"float",
"(",
"avg",
"rejected",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"max",
"cancelled",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"cur",
"cancelled",
"jobs",
")",
";",
"out",
"write",
"float",
"(",
"avg",
"cancelled",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"total",
"rejected",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"total",
"cancelled",
"jobs",
")",
";",
"out",
"write",
"int",
"(",
"total",
"executed",
"jobs",
")",
";",
"out",
"write",
"long",
"(",
"max",
"job",
"wait",
"time",
")",
";",
"out",
"write",
"long",
"(",
"cur",
"job",
"wait",
"time",
")",
";",
"out",
"write",
"double",
"(",
"avg",
"job",
"wait",
"time",
")",
";",
"out",
"write",
"long",
"(",
"max",
"job",
"exec",
"time",
")",
";",
"out",
"write",
"long",
"(",
"cur",
"job",
"exec",
"time",
")",
";",
"out",
"write",
"double",
"(",
"avg",
"job",
"exec",
"time",
")",
";",
"out",
"write",
"int",
"(",
"total",
"exec",
"tasks",
")",
";",
"out",
"write",
"long",
"(",
"total",
"idle",
"time",
")",
";",
"out",
"write",
"long",
"(",
"cur",
"idle",
"time",
")",
";",
"out",
"write",
"int",
"(",
"avail",
"procs",
")",
";",
"out",
"write",
"double",
"(",
"load",
")",
";",
"out",
"write",
"double",
"(",
"avg",
"load",
")",
";",
"out",
"write",
"double",
"(",
"gc",
"load",
")",
";",
"out",
"write",
"long",
"(",
"heap",
"init",
")",
";",
"out",
"write",
"long",
"(",
"heap",
"used",
")",
";",
"out",
"write",
"long",
"(",
"heap",
"committed",
")",
";",
"out",
"write",
"long",
"(",
"heap",
"max",
")",
";",
"out",
"write",
"long",
"(",
"non",
"heap",
"init",
")",
";",
"out",
"write",
"long",
"(",
"non",
"heap",
"used",
")",
";",
"out",
"write",
"long",
"(",
"non",
"heap",
"committed",
")",
";",
"out",
"write",
"long",
"(",
"non",
"heap",
"max",
")",
";",
"out",
"write",
"long",
"(",
"up",
"time",
")",
";",
"out",
"write",
"long",
"(",
"start",
"time",
")",
";",
"out",
"write",
"long",
"(",
"node",
"start",
"time",
")",
";",
"out",
"write",
"int",
"(",
"thread",
"cnt",
")",
";",
"out",
"write",
"int",
"(",
"peak",
"thread",
"cnt",
")",
";",
"out",
"write",
"long",
"(",
"started",
"thread",
"cnt",
")",
";",
"out",
"write",
"int",
"(",
"daemon",
"thread",
"cnt",
")",
";",
"out",
"write",
"long",
"(",
"file",
"sys",
"free",
"space",
")",
";",
"out",
"write",
"long",
"(",
"file",
"sys",
"total",
"space",
")",
";",
"out",
"write",
"long",
"(",
"file",
"sys",
"usable",
"space",
")",
";",
"out",
"write",
"long",
"(",
"last",
"data",
"ver",
")",
";",
"out",
"write",
"int",
"(",
"sent",
"msgs",
"cnt",
")",
";",
"out",
"write",
"long",
"(",
"sent",
"bytes",
"cnt",
")",
";",
"out",
"write",
"int",
"(",
"rcvd",
"msgs",
"cnt",
")",
";",
"out",
"write",
"long",
"(",
"rcvd",
"bytes",
"cnt",
")",
";"
]
|
[
"{"
]
| [
"last",
"update",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"max",
"active",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"cur",
"active",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"avg",
"active",
"jobs",
"=",
"in",
"read",
"float",
"(",
")",
";",
"max",
"waiting",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"cur",
"waiting",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"avg",
"waiting",
"jobs",
"=",
"in",
"read",
"float",
"(",
")",
";",
"max",
"rejected",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"cur",
"rejected",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"avg",
"rejected",
"jobs",
"=",
"in",
"read",
"float",
"(",
")",
";",
"max",
"cancelled",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"cur",
"cancelled",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"avg",
"cancelled",
"jobs",
"=",
"in",
"read",
"float",
"(",
")",
";",
"total",
"rejected",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"total",
"cancelled",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"total",
"executed",
"jobs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"max",
"job",
"wait",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"cur",
"job",
"wait",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"avg",
"job",
"wait",
"time",
"=",
"in",
"read",
"double",
"(",
")",
";",
"max",
"job",
"exec",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"cur",
"job",
"exec",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"avg",
"job",
"exec",
"time",
"=",
"in",
"read",
"double",
"(",
")",
";",
"total",
"exec",
"tasks",
"=",
"in",
"read",
"int",
"(",
")",
";",
"total",
"idle",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"cur",
"idle",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"avail",
"procs",
"=",
"in",
"read",
"int",
"(",
")",
";",
"load",
"=",
"in",
"read",
"double",
"(",
")",
";",
"avg",
"load",
"=",
"in",
"read",
"double",
"(",
")",
";",
"gc",
"load",
"=",
"in",
"read",
"double",
"(",
")",
";",
"heap",
"init",
"=",
"in",
"read",
"long",
"(",
")",
";",
"heap",
"used",
"=",
"in",
"read",
"long",
"(",
")",
";",
"heap",
"committed",
"=",
"in",
"read",
"long",
"(",
")",
";",
"heap",
"max",
"=",
"in",
"read",
"long",
"(",
")",
";",
"non",
"heap",
"init",
"=",
"in",
"read",
"long",
"(",
")",
";",
"non",
"heap",
"used",
"=",
"in",
"read",
"long",
"(",
")",
";",
"non",
"heap",
"committed",
"=",
"in",
"read",
"long",
"(",
")",
";",
"non",
"heap",
"max",
"=",
"in",
"read",
"long",
"(",
")",
";",
"up",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"start",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"node",
"start",
"time",
"=",
"in",
"read",
"long",
"(",
")",
";",
"thread",
"cnt",
"=",
"in",
"read",
"int",
"(",
")",
";",
"peak",
"thread",
"cnt",
"=",
"in",
"read",
"int",
"(",
")",
";",
"started",
"thread",
"cnt",
"=",
"in",
"read",
"long",
"(",
")",
";",
"daemon",
"thread",
"cnt",
"=",
"in",
"read",
"int",
"(",
")",
";",
"file",
"sys",
"free",
"space",
"=",
"in",
"read",
"long",
"(",
")",
";",
"file",
"sys",
"total",
"space",
"=",
"in",
"read",
"long",
"(",
")",
";",
"file",
"sys",
"usable",
"space",
"=",
"in",
"read",
"long",
"(",
")",
";",
"last",
"data",
"ver",
"=",
"in",
"read",
"long",
"(",
")",
";",
"sent",
"msgs",
"cnt",
"=",
"in",
"read",
"int",
"(",
")",
";",
"sent",
"bytes",
"cnt",
"=",
"in",
"read",
"long",
"(",
")",
";",
"rcvd",
"msgs",
"cnt",
"=",
"in",
"read",
"int",
"(",
")",
";",
"rcvd",
"bytes",
"cnt",
"=",
"in",
"read",
"long",
"(",
")",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.