docstring_tokens
list
code_tokens
list
[ "{" ]
[ "return", "s", "to", "string", "(", "grid", "dht", "cache", "adapter", "class", ",", "this", ",", "super", "to", "string", "(", ")", ")", ";" ]
[ "{" ]
[ "return", "ctx", "affinity", "node", "(", ")", "?", "super", "split", "clear", "locally", "(", "srv", ",", "near", ",", "readers", ")", ":", "collections", "<", "grid", "cache", "clear", "all", "runnable", "<", "k", ",", "v", ">", ">", "empty", "list...
[ "{" ]
[ "assert", "entry", "is", "dht", "(", ")", ";", "grid", "dht", "local", "partition", "part", "=", "topology", "(", ")", "local", "partition", "(", "entry", "partition", "(", ")", ",", "affinity", "topology", "version", "none", ",", "false", ")", ";", "i...
[ "convinience", "method", "variant", "that", "never", "uses", "<", "code", ">", "init", "float", "<", "/", "code", ">" ]
[ "return", "build", "random", "index", "(", "null", ",", "arrays", "as", "list", "(", "special", "ids", ")", ")", ";" ]
[ "{" ]
[ "return", "ctx", "cluster", "(", ")", "get", "(", ")", ";" ]
[ "{" ]
[ "return", "ctx", "cluster", "(", ")", "get", "(", ")", "local", "node", "(", ")", ";" ]
[ "{" ]
[ "return", "(", "(", "cluster", "group", "adapter", ")", "ctx", "cluster", "(", ")", "get", "(", ")", "for", "servers", "(", ")", ")", "compute", "(", ")", ";" ]
[ "{" ]
[ "return", "ctx", "cluster", "(", ")", "get", "(", ")", "message", "(", ")", ";" ]
[ "{" ]
[ "return", "ctx", "cluster", "(", ")", "get", "(", ")", "events", "(", ")", ";" ]
[ "{" ]
[ "check", "cluster", "state", "(", ")", ";", "return", "(", "(", "cluster", "group", "adapter", ")", "ctx", "cluster", "(", ")", "get", "(", ")", "for", "servers", "(", ")", ")", "services", "(", ")", ";" ]
[ "{" ]
[ "return", "ctx", "cluster", "(", ")", "get", "(", ")", "executor", "service", "(", ")", ";" ]
[ "{" ]
[ "return", "(", "(", "cluster", "group", "adapter", ")", "grp", ")", "compute", "(", ")", ";" ]
[ "{" ]
[ "return", "(", "(", "cluster", "group", "adapter", ")", "prj", ")", "message", "(", ")", ";" ]
[ "{" ]
[ "return", "(", "(", "cluster", "group", "adapter", ")", "grp", ")", "events", "(", ")", ";" ]
[ "{" ]
[ "check", "cluster", "state", "(", ")", ";", "return", "(", "(", "cluster", "group", "adapter", ")", "grp", ")", "services", "(", ")", ";" ]
[ "{" ]
[ "return", "(", "(", "cluster", "group", "adapter", ")", "grp", ")", "executor", "service", "(", ")", ";" ]
[ "{" ]
[ "return", "ignite", "instance", "name", ";" ]
[ "{" ]
[ "return", "copyright", ";" ]
[ "{" ]
[ "return", "start", "time", ";" ]
[ "{" ]
[ "return", "date", "format", "get", "date", "time", "instance", "(", ")", "format", "(", "new", "date", "(", "start", "time", ")", ")", ";" ]
[ "{" ]
[ "return", "ctx", "cache", "(", ")", "context", "(", ")", "is", "rebalance", "enabled", "(", ")", ";" ]
[ "{" ]
[ "ctx", "cache", "(", ")", "context", "(", ")", "rebalance", "enabled", "(", "rebalance", "enabled", ")", ";" ]
[ "{" ]
[ "return", "u", "current", "time", "millis", "(", ")", "-", "start", "time", ";" ]
[ "{" ]
[ "return", "long", "j", "v", "m", "pause", "detector", "!", "=", "null", "?", "long", "j", "v", "m", "pause", "detector", "long", "pauses", "count", "(", ")", ":", "0", ";" ]
[ "{" ]
[ "return", "long", "j", "v", "m", "pause", "detector", "!", "=", "null", "?", "long", "j", "v", "m", "pause", "detector", "long", "pauses", "total", "duration", "(", ")", ":", "0", ";" ]
[ "{" ]
[ "return", "long", "j", "v", "m", "pause", "detector", "!", "=", "null", "?", "long", "j", "v", "m", "pause", "detector", "long", "pause", "events", "(", ")", ":", "collections", "empty", "map", "(", ")", ";" ]
[ "{" ]
[ "return", "x", "time", "span", "2", "d", "h", "m", "s", "m", "(", "u", "current", "time", "millis", "(", ")", "-", "start", "time", ")", ";" ]
[ "{" ]
[ "return", "ver", "str", "+", "'", "-", "'", "+", "build", "tstamp", "str", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "arrays", "to", "string", "(", "cfg", "get", "checkpoint", "spi", "(", ")", ")", ";" ]
[ "{" ]
[ "cluster", "node", "node", "=", "ctx", "discovery", "(", ")", "oldest", "alive", "server", "node", "(", "affinity", "topology", "version", "none", ")", ";", "if", "(", "node", "=", "=", "null", ")", "return", "\"", "\"", ";", "return", "new", "string",...
[ "{" ]
[ "cluster", "node", "loc", "node", "=", "local", "node", "(", ")", ";", "if", "(", "loc", "node", "is", "client", "(", ")", "|", "|", "loc", "node", "is", "daemon", "(", ")", ")", "return", "false", ";", "discovery", "data", "cluster", "state", "clu...
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "get", "communication", "spi", "(", ")", "to", "string", "(", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "get", "deployment", "spi", "(", ")", "to", "string", "(", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "get", "discovery", "spi", "(", ")", "to", "string", "(", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "get", "event", "storage", "spi", "(", ")", "to", "string", "(", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "get", "collision", "spi", "(", ")", "to", "string", "(", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "arrays", "to", "string", "(", "cfg", "get", "failover", "spi", "(", ")", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "arrays", "to", "string", "(", "cfg", "get", "load", "balancing", "spi", "(", ")", ")", ";" ]
[ "{" ]
[ "return", "u", "os", "string", "(", ")", ";" ]
[ "{" ]
[ "return", "u", "jdk", "string", "(", ")", ";" ]
[ "{" ]
[ "ctx", "exception", "registry", "(", ")", "print", "errors", "(", "log", ")", ";" ]
[ "{" ]
[ "return", "management", "factory", "get", "runtime", "m", "x", "bean", "(", ")", "get", "name", "(", ")", ";" ]
[ "{" ]
[ "return", "ignite", "instance", "name", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "string", "value", "of", "(", "cfg", "get", "public", "thread", "pool", "size", "(", ")", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "get", "ignite", "home", "(", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "get", "grid", "logger", "(", ")", "to", "string", "(", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "get", "m", "bean", "server", "(", ")", "to", "string", "(", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "get", "node", "id", "(", ")", ";" ]
[ "{" ]
[ "assert", "cfg", "!", "=", "null", ";", "return", "cfg", "is", "peer", "class", "loading", "enabled", "(", ")", ";" ]
[ "{" ]
[ "lifecycle", "bean", "[", "]", "beans", "=", "cfg", "get", "lifecycle", "beans", "(", ")", ";", "if", "(", "f", "is", "empty", "(", "beans", ")", ")", "return", "collections", "empty", "list", "(", ")", ";", "else", "{", "list", "<", "string", ">",...
[ "add", "spi", "version", "and", "class", "attributes", "into", "node", "attributes" ]
[ "for", "(", "ignite", "spi", "spi", ":", "spi", "list", ")", "{", "class", "<", "?", "extends", "ignite", "spi", ">", "spi", "cls", "=", "spi", "get", "class", "(", ")", ";", "add", "(", "u", "spi", "attribute", "(", "spi", ",", "attr", "spi", ...
[ "add", "helper" ]
[ "ctx", "add", "helper", "(", "helper", ")", ";" ]
[ "acks", "configuration" ]
[ "assert", "log", "!", "=", "null", ";", "if", "(", "log", "is", "info", "enabled", "(", ")", ")", "log", "info", "(", "cfg", "to", "string", "(", ")", ")", ";" ]
[ "/", "*" ]
[ "cu", "validate", "cache", "name", "(", "name", ")", ";", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "cache", "(", ")", "internal", "cache", "(", "name", ")", ";" ]
[ "it", "s", "intended", "for", "use", "by", "internal", "marshalling", "implementation", "only" ]
[ "return", "ctx", ";" ]
[ "whether", "or", "not", "node", "restart", "is", "enabled", "node", "restart", "us", "supported", "when", "this", "node", "was", "started", "with", "{", "@", "code", "bin", "/", "ignite", "{", "sh", "|", "bat", "}", "}", "script", "using", "{", "@", ...
[ "return", "system", "get", "property", "(", "ignite", "success", "file", ")", "!", "=", "null", ";" ]
[ "{" ]
[ "return", "cfg", "get", "grid", "logger", "(", ")", ";" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "for", "(", "cluster", "node", "n", ":", "cluster", "(", ")", "nodes", "(", ")", ")", "if", "(", "n", "addresses", "(", ")", "contains", "(", "host", ")", ")", "return", "ctx", "discovery", "(", ")", "ping", ...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "return", "ctx", "event", "(", ")", "is", "user", "recordable", "(", "type", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "cache", "(", ")", "transactions", "(", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "cu", "validate", "cache", "name", "(", "name", ")", ";", "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "cache", "(", ")", "public", "j", "cache", "(", "name", ",", "false", ",", "true", ")", ";"...
[ "{" ]
[ "cu", "validate", "new", "cache", "name", "(", "cache", "name", ")", ";", "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "ctx", "cache", "(", ")", "create", "from", "template", "(", "cache", "name", ")", "get", "(",...
[ "{" ]
[ "return", "get", "or", "create", "cache", "0", "(", "cache", "cfg", ",", "false", ")", "get", "1", "(", ")", ";" ]
[ "{" ]
[ "destroy", "cache", "0", "(", "cache", "name", ",", "false", ")", ";" ]
[ "{" ]
[ "cu", "validate", "cache", "name", "(", "cache", "name", ")", ";", "ignite", "internal", "future", "<", "boolean", ">", "stop", "fut", "=", "destroy", "cache", "async", "(", "cache", "name", ",", "sql", ",", "true", ")", ";", "try", "{", "return", "s...
[ "{" ]
[ "cu", "validate", "cache", "names", "(", "cache", "names", ")", ";", "ignite", "internal", "future", "stop", "fut", "=", "destroy", "caches", "async", "(", "cache", "names", ",", "true", ")", ";", "try", "{", "stop", "fut", "get", "(", ")", ";", "}",...
[ "{" ]
[ "cu", "validate", "new", "cache", "name", "(", "cache", "name", ")", ";", "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "if", "(", "ctx", "cache", "(", ")", "cache", "(", "cache", "name", ")", "=", "=", "null", ...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "cache", "(", ")", "public", "cache", "names", "(", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "cache", "(", ")", "utility", "cache", "(", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "cu", "validate", "cache", "name", "(", "name", ")", ";", "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "cache", "(", ")", "cache", "(", "name", ")", ";", "}", "finally", "{", "unguard", "(", ")"...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "f", "retain", "(", "ctx", "cache", "(", ")", "caches", "(", ")", ",", "true", ",", "p", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "cu", "validate", "cache", "name", "(", "cache", "name", ")", ";", "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "<", "k", ",", "v", ">", "data", "stream", "(", ")", "data", "streamer", "(", "cac...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "igfs", "(", ")", "igfss", "(", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "hadoop", "(", ")", "hadoop", "(", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "(", "t", ")", "ctx", "plugin", "provider", "(", "name", ")", "plugin", "(", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "check", "cluster", "state", "(", ")", ";", "ignite", "cache", "object", "processor", "obj", "proc", "=", "ctx", "cache", "objects", "(", ")", ";", "return", "obj", "proc", "binary", "(", ")", ";" ]
[ "{" ]
[ "return", "ver", ";" ]
[ "{" ]
[ "ctx", "gateway", "(", ")", "read", "lock", "(", ")", ";", "try", "{", "return", "ctx", "cluster", "(", ")", "latest", "version", "(", ")", ";", "}", "finally", "{", "ctx", "gateway", "(", ")", "read", "unlock", "(", ")", ";", "}" ]
[ "{" ]
[ "return", "scheduler", ";" ]
[ "{" ]
[ "ignition", "stop", "(", "ignite", "instance", "name", ",", "true", ")", ";" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "return", "context", "(", ")", "state", "(", ")", "public", "api", "active", "state", "(", "true", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "cluster", "(", ")", "active", "(", "active", ")", ";" ]
[ "{" ]
[ "cu", "validate", "cache", "names", "(", "cache", "names", ")", ";", "guard", "(", ")", ";", "try", "{", "ctx", "cache", "(", ")", "reset", "cache", "state", "(", "cache", "names", ")", "get", "(", ")", ";", "}", "catch", "(", "ignite", "checked", ...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "return", "ctx", "cache", "(", ")", "context", "(", ")", "database", "(", ")", "memory", "metrics", "(", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "return", "ctx", "cache", "(", ")", "context", "(", ")", "database", "(", ")", "memory", "metrics", "(", "mem", "plc", "name", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "return", "ctx", "cache", "(", ")", "context", "(", ")", "database", "(", ")", "persistent", "store", "metrics", "(", ")", ";", "}", "finally", "{", "unguard", "(", ")", ";", "}" ]
[ "{" ]
[ "return", "atomic", "sequence", "(", "name", ",", "null", ",", "init", "val", ",", "create", ")", ";" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "data", "structures", "(", ")", "sequence", "(", "name", ",", "cfg", ",", "init", "val", ",", "create", ")", ";", "}", "catch", "(", "ignite", "checked...
[ "{" ]
[ "return", "atomic", "long", "(", "name", ",", "null", ",", "init", "val", ",", "create", ")", ";" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "data", "structures", "(", ")", "atomic", "long", "(", "name", ",", "cfg", ",", "init", "val", ",", "create", ")", ";", "}", "catch", "(", "ignite", ...
[ "{" ]
[ "return", "atomic", "reference", "(", "name", ",", "null", ",", "init", "val", ",", "create", ")", ";" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "data", "structures", "(", ")", "atomic", "reference", "(", "name", ",", "cfg", ",", "init", "val", ",", "create", ")", ";", "}", "catch", "(", "ignite...
[ "{" ]
[ "return", "atomic", "stamped", "(", "name", ",", "null", ",", "init", "val", ",", "init", "stamp", ",", "create", ")", ";" ]
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "data", "structures", "(", ")", "atomic", "stamped", "(", "name", ",", "cfg", ",", "init", "val", ",", "init", "stamp", ",", "create", ")", ";", "}", ...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "data", "structures", "(", ")", "count", "down", "latch", "(", "name", ",", "null", ",", "cnt", ",", "auto", "del", ",", "create", ")", ";", "}", "ca...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "data", "structures", "(", ")", "semaphore", "(", "name", ",", "null", ",", "cnt", ",", "failover", "safe", ",", "create", ")", ";", "}", "catch", "(",...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "data", "structures", "(", ")", "reentrant", "lock", "(", "name", ",", "null", ",", "failover", "safe", ",", "fair", ",", "create", ")", ";", "}", "cat...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "data", "structures", "(", ")", "queue", "(", "name", ",", "null", ",", "cap", ",", "cfg", ")", ";", "}", "catch", "(", "ignite", "checked", "exception...
[ "{" ]
[ "guard", "(", ")", ";", "try", "{", "check", "cluster", "state", "(", ")", ";", "return", "ctx", "data", "structures", "(", ")", "set", "(", "name", ",", "null", ",", "cfg", ")", ";", "}", "catch", "(", "ignite", "checked", "exception", "e", ")", ...
[ "<", "tt", ">", "ctx", "gateway", "(", ")", "read", "lock", "(", ")", "<", "/", "tt", ">" ]
[ "assert", "ctx", "!", "=", "null", ";", "ctx", "gateway", "(", ")", "read", "lock", "(", ")", ";" ]