docstring_tokens
sequence
code_tokens
sequence
[ "<", "p", ">", "the", "approximate", "date", "and", "time", "when", "the", "stream", "record", "was", "created", "in", "<", "a", "href", "=", "http", ":", "/", "/", "www", "epochconverter", "com", "/", ">", "unix", "epoch", "time", "<", "/", "a", ">", "format", "<", "/", "p", ">" ]
[ "this", "approximate", "creation", "date", "time", "=", "approximate", "creation", "date", "time", ";" ]
[ "<", "p", ">", "the", "approximate", "date", "and", "time", "when", "the", "stream", "record", "was", "created", "in", "<", "a", "href", "=", "http", ":", "/", "/", "www", "epochconverter", "com", "/", ">", "unix", "epoch", "time", "<", "/", "a", ">", "format", "<", "/", "p", ">" ]
[ "return", "this", "approximate", "creation", "date", "time", ";" ]
[ "<", "p", ">", "the", "approximate", "date", "and", "time", "when", "the", "stream", "record", "was", "created", "in", "<", "a", "href", "=", "http", ":", "/", "/", "www", "epochconverter", "com", "/", ">", "unix", "epoch", "time", "<", "/", "a", ">", "format", "<", "/", "p", ">" ]
[ "set", "approximate", "creation", "date", "time", "(", "approximate", "creation", "date", "time", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "primary", "key", "attribute", "(", "s", ")", "for", "the", "dynamo", "d", "b", "item", "that", "was", "modified", "<", "/", "p", ">" ]
[ "return", "keys", ";" ]
[ "<", "p", ">", "the", "primary", "key", "attribute", "(", "s", ")", "for", "the", "dynamo", "d", "b", "item", "that", "was", "modified", "<", "/", "p", ">" ]
[ "this", "keys", "=", "keys", ";" ]
[ "<", "p", ">", "the", "primary", "key", "attribute", "(", "s", ")", "for", "the", "dynamo", "d", "b", "item", "that", "was", "modified", "<", "/", "p", ">" ]
[ "set", "keys", "(", "keys", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "keys" ]
[ "this", "keys", "=", "null", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "item", "in", "the", "dynamo", "d", "b", "table", "as", "it", "appeared", "after", "it", "was", "modified", "<", "/", "p", ">" ]
[ "return", "new", "image", ";" ]
[ "<", "p", ">", "the", "item", "in", "the", "dynamo", "d", "b", "table", "as", "it", "appeared", "after", "it", "was", "modified", "<", "/", "p", ">" ]
[ "this", "new", "image", "=", "new", "image", ";" ]
[ "<", "p", ">", "the", "item", "in", "the", "dynamo", "d", "b", "table", "as", "it", "appeared", "after", "it", "was", "modified", "<", "/", "p", ">" ]
[ "set", "new", "image", "(", "new", "image", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "new", "image" ]
[ "this", "new", "image", "=", "null", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "item", "in", "the", "dynamo", "d", "b", "table", "as", "it", "appeared", "before", "it", "was", "modified", "<", "/", "p", ">" ]
[ "return", "old", "image", ";" ]
[ "<", "p", ">", "the", "item", "in", "the", "dynamo", "d", "b", "table", "as", "it", "appeared", "before", "it", "was", "modified", "<", "/", "p", ">" ]
[ "this", "old", "image", "=", "old", "image", ";" ]
[ "<", "p", ">", "the", "item", "in", "the", "dynamo", "d", "b", "table", "as", "it", "appeared", "before", "it", "was", "modified", "<", "/", "p", ">" ]
[ "set", "old", "image", "(", "old", "image", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "old", "image" ]
[ "this", "old", "image", "=", "null", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "sequence", "number", "of", "the", "stream", "record", "<", "/", "p", ">" ]
[ "set", "sequence", "number", "(", "sequence", "number", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "size", "of", "the", "stream", "record", "in", "bytes", "<", "/", "p", ">" ]
[ "this", "size", "bytes", "=", "size", "bytes", ";" ]
[ "<", "p", ">", "the", "size", "of", "the", "stream", "record", "in", "bytes", "<", "/", "p", ">" ]
[ "return", "this", "size", "bytes", ";" ]
[ "<", "p", ">", "the", "size", "of", "the", "stream", "record", "in", "bytes", "<", "/", "p", ">" ]
[ "set", "size", "bytes", "(", "size", "bytes", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "data", "from", "the", "modified", "dynamo", "d", "b", "item", "that", "was", "captured", "in", "this", "stream", "record", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "keys", "only", "<", "/", "code", ">", "-", "only", "the", "key", "attributes", "of", "the", "modified", "item", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "new", "image", "<", "/", "code", ">", "-", "the", "entire", "item", "as", "it", "appeared", "after", "it", "was", "modified", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "old", "image", "<", "/", "code", ">", "-", "the", "entire", "item", "as", "it", "appeared", "before", "it", "was", "modified", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "new", "and", "old", "images", "<", "/", "code", ">", "-", "both", "the", "new", "and", "the", "old", "item", "images", "of", "the", "item", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "stream", "view", "type", "(", "stream", "view", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "data", "from", "the", "modified", "dynamo", "d", "b", "item", "that", "was", "captured", "in", "this", "stream", "record", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "keys", "only", "<", "/", "code", ">", "-", "only", "the", "key", "attributes", "of", "the", "modified", "item", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "new", "image", "<", "/", "code", ">", "-", "the", "entire", "item", "as", "it", "appeared", "after", "it", "was", "modified", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "old", "image", "<", "/", "code", ">", "-", "the", "entire", "item", "as", "it", "appeared", "before", "it", "was", "modified", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "new", "and", "old", "images", "<", "/", "code", ">", "-", "both", "the", "new", "and", "the", "old", "item", "images", "of", "the", "item", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "this", "stream", "view", "type", "=", "stream", "view", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "you", "can", "opt", "out", "of", "certificate", "transparency", "logging", "by", "specifying", "the", "<", "code", ">", "disabled", "<", "/", "code", ">", "option", "opt", "in", "by", "specifying", "<", "code", ">", "enabled", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "this", "certificate", "transparency", "logging", "preference", "=", "certificate", "transparency", "logging", "preference", ";" ]
[ "<", "p", ">", "you", "can", "opt", "out", "of", "certificate", "transparency", "logging", "by", "specifying", "the", "<", "code", ">", "disabled", "<", "/", "code", ">", "option", "opt", "in", "by", "specifying", "<", "code", ">", "enabled", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "return", "this", "certificate", "transparency", "logging", "preference", ";" ]
[ "<", "p", ">", "you", "can", "opt", "out", "of", "certificate", "transparency", "logging", "by", "specifying", "the", "<", "code", ">", "disabled", "<", "/", "code", ">", "option", "opt", "in", "by", "specifying", "<", "code", ">", "enabled", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "certificate", "transparency", "logging", "preference", "(", "certificate", "transparency", "logging", "preference", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "you", "can", "opt", "out", "of", "certificate", "transparency", "logging", "by", "specifying", "the", "<", "code", ">", "disabled", "<", "/", "code", ">", "option", "opt", "in", "by", "specifying", "<", "code", ">", "enabled", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "this", "certificate", "transparency", "logging", "preference", "=", "certificate", "transparency", "logging", "preference", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "this", "method", "states", "if", "we", "should", "insert", "a", "custom", "element", "at", "the", "vien", "position" ]
[ "public", "abstract", "boolean", "should", "insert", "item", "at", "position", "(", "int", "position", ")", ";" ]
[ "this", "method", "calculates", "how", "many", "elements", "were", "already", "inserted", "before", "this", "position", ";" ]
[ "public", "abstract", "int", "item", "inserted", "before", "count", "(", "int", "position", ")", ";" ]
[ "overwrite", "the", "register", "adapter", "data", "observer", "to", "correctly", "forward", "all", "events", "to", "the", "fast", "adapter" ]
[ "super", "register", "adapter", "data", "observer", "(", "observer", ")", ";", "if", "(", "m", "adapter", "!", "=", "null", ")", "{", "m", "adapter", "register", "adapter", "data", "observer", "(", "observer", ")", ";", "}" ]
[ "overwrite", "the", "unregister", "adapter", "data", "observer", "to", "correctly", "forward", "all", "events", "to", "the", "fast", "adapter" ]
[ "super", "unregister", "adapter", "data", "observer", "(", "observer", ")", ";", "if", "(", "m", "adapter", "!", "=", "null", ")", "{", "m", "adapter", "unregister", "adapter", "data", "observer", "(", "observer", ")", ";", "}" ]
[ "overwrite", "the", "get", "item", "view", "type", "to", "correctly", "return", "the", "value", "from", "the", "fast", "adapter" ]
[ "if", "(", "should", "insert", "item", "at", "position", "(", "position", ")", ")", "{", "return", "get", "item", "(", "position", ")", "get", "type", "(", ")", ";", "}", "else", "{", "return", "m", "adapter", "get", "item", "view", "type", "(", "position", "-", "item", "inserted", "before", "count", "(", "position", ")", ")", ";", "}" ]
[ "overwrite", "the", "get", "item", "id", "to", "correctly", "return", "the", "value", "from", "the", "fast", "adapter" ]
[ "if", "(", "should", "insert", "item", "at", "position", "(", "position", ")", ")", "{", "return", "get", "item", "(", "position", ")", "get", "identifier", "(", ")", ";", "}", "else", "{", "return", "m", "adapter", "get", "item", "id", "(", "position", "-", "item", "inserted", "before", "count", "(", "position", ")", ")", ";", "}" ]
[ "make", "sure", "we", "return", "the", "item", "from", "the", "fast", "adapter", "so", "we", "retrieve", "the", "item", "from", "all", "adapters" ]
[ "if", "(", "should", "insert", "item", "at", "position", "(", "position", ")", ")", "{", "return", "m", "items", "get", "(", "item", "inserted", "before", "count", "(", "position", "-", "1", ")", ")", ";", "}", "return", "null", ";" ]
[ "make", "sure", "we", "return", "the", "count", "from", "the", "fast", "adapter", "so", "we", "retrieve", "the", "count", "from", "all", "adapters" ]
[ "int", "item", "count", "=", "m", "adapter", "get", "item", "count", "(", ")", ";", "return", "item", "count", "+", "item", "inserted", "before", "count", "(", "item", "count", ")", ";" ]
[ "the", "on", "bind", "view", "holder", "is", "managed", "by", "the", "fast", "adapter", "so", "forward", "this", "correctly" ]
[ "if", "(", "should", "insert", "item", "at", "position", "(", "position", ")", ")", "{", "get", "item", "(", "position", ")", "bind", "view", "(", "holder", ",", "payloads", ")", ";", "}", "else", "{", "m", "adapter", "on", "bind", "view", "holder", "(", "holder", ",", "position", "-", "item", "inserted", "before", "count", "(", "position", ")", ",", "payloads", ")", ";", "}" ]
[ "the", "on", "view", "recycled", "is", "managed", "by", "the", "fast", "adapter", "so", "forward", "this", "correctly" ]
[ "m", "adapter", "on", "view", "recycled", "(", "holder", ")", ";" ]
[ "the", "on", "failed", "to", "recycle", "view", "is", "managed", "by", "the", "fast", "adapter", "so", "forward", "this", "correctly" ]
[ "return", "m", "adapter", "on", "failed", "to", "recycle", "view", "(", "holder", ")", ";" ]
[ "the", "on", "view", "detached", "from", "window", "is", "managed", "by", "the", "fast", "adapter", "so", "forward", "this", "correctly" ]
[ "m", "adapter", "on", "view", "detached", "from", "window", "(", "holder", ")", ";" ]
[ "the", "on", "view", "attached", "to", "window", "is", "managed", "by", "the", "fast", "adapter", "so", "forward", "this", "correctly" ]
[ "m", "adapter", "on", "view", "attached", "to", "window", "(", "holder", ")", ";" ]
[ "<", "p", ">", "the", "namespace", "of", "the", "aws", "service", "that", "provides", "the", "resource", "or", "<", "code", ">", "custom", "-", "resource", "<", "/", "code", ">", "for", "a", "resource", "provided", "by", "your", "own", "application", "or", "service", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "general", "/", "latest", "/", "gr", "/", "aws", "-", "arns", "-", "and", "-", "namespaces", "html", "#", "genref", "-", "aws", "-", "service", "-", "namespaces", ">", "aws", "service", "namespaces", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "web", "services", "general", "reference", "<", "/", "i", ">", "<", "/", "p", ">" ]
[ "set", "service", "namespace", "(", "service", "namespace", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "namespace", "of", "the", "aws", "service", "that", "provides", "the", "resource", "or", "<", "code", ">", "custom", "-", "resource", "<", "/", "code", ">", "for", "a", "resource", "provided", "by", "your", "own", "application", "or", "service", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "general", "/", "latest", "/", "gr", "/", "aws", "-", "arns", "-", "and", "-", "namespaces", "html", "#", "genref", "-", "aws", "-", "service", "-", "namespaces", ">", "aws", "service", "namespaces", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "web", "services", "general", "reference", "<", "/", "i", ">", "<", "/", "p", ">" ]
[ "this", "service", "namespace", "=", "service", "namespace", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "identifier", "of", "the", "resource", "associated", "with", "the", "scalable", "target", "this", "string", "consists", "of", "the", "resource", "type", "and", "unique", "identifier", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "ecs", "service", "-", "the", "resource", "type", "is", "<", "code", ">", "service", "<", "/", "code", ">", "and", "the", "unique", "identifier", "is", "the", "cluster", "name", "and", "service", "name", "example", ":", "<", "code", ">", "service", "/", "default", "/", "sample", "-", "webapp", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "spot", "fleet", "request", "-", "the", "resource", "type", "is", "<", "code", ">", "spot", "-", "fleet", "-", "request", "<", "/", "code", ">", "and", "the", "unique", "identifier", "is", "the", "spot", "fleet", "request", "id", "example", ":", "<", "code", ">", "spot", "-", "fleet", "-", "request", "/", "sfr", "-", "7", "3fbd", "2ce", "-", "aa", "3", "0", "-", "4", "9", "4c", "-", "8788", "-", "1cee", "4", "e", "x", "a", "m", "p", "l", "e", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "emr", "cluster", "-", "the", "resource", "type", "is", "<", "code", ">", "instancegroup", "<", "/", "code", ">", "and", "the", "unique", "identifier", "is", "the", "cluster", "id", "and", "instance", "group", "id", "example", ":", "<", "code", ">", "instancegroup", "/", "j", "-", "2eeznykua1ntv", "/", "ig", "-", "1791y4e1l8yi0", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "app", "stream", "2", "0", "fleet", "-", "the", "resource", "type", "is", "<", "code", ">", "fleet", "<", "/", "code", ">", "and", "the", "unique", "identifier", "is", "the", "fleet", "name", "example", ":", "<", "code", ">", "fleet", "/", "sample", "-", "fleet", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "dynamo", "d", "b", "table", "-", "the", "resource", "type", "is", "<", "code", ">", "table", "<", "/", "code", ">", "and", "the", "unique", "identifier", "is", "the", "resource", "id", "example", ":", "<", "code", ">", "table", "/", "my", "-", "table", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "dynamo", "d", "b", "global", "secondary", "index", "-", "the", "resource", "type", "is", "<", "code", ">", "index", "<", "/", "code", ">", "and", "the", "unique", "identifier", "is", "the", "resource", "id", "example", ":", "<", "code", ">", "table", "/", "my", "-", "table", "/", "index", "/", "my", "-", "table", "-", "index", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "aurora", "db", "cluster", "-", "the", "resource", "type", "is", "<", "code", ">", "cluster", "<", "/", "code", ">", "and", "the", "unique", "identifier", "is", "the", "cluster", "name", "example", ":", "<", "code", ">", "cluster", ":", "my", "-", "db", "-", "cluster", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "amazon", "sage", "maker", "endpoint", "variants", "-", "the", "resource", "type", "is", "<", "code", ">", "variant", "<", "/", "code", ">", "and", "the", "unique", "identifier", "is", "the", "resource", "id", "example", ":", "<", "code", ">", "endpoint", "/", "my", "-", "end", "-", "point", "/", "variant", "/", "k", "means", "clustering", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "custom", "resources", "are", "not", "supported", "with", "a", "resource", "type", "this", "parameter", "must", "specify", "the", "<", "code", ">", "output", "value", "<", "/", "code", ">", "from", "the", "cloud", "formation", "template", "stack", "used", "to", "access", "the", "resources", "the", "unique", "identifier", "is", "defined", "by", "the", "service", "provider", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "resource", "id", "(", "resource", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "scalable", "dimension", "associated", "with", "the", "scalable", "target", "this", "string", "consists", "of", "the", "service", "namespace", "resource", "type", "and", "scaling", "property", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "ecs", ":", "service", ":", "desired", "count", "<", "/", "code", ">", "-", "the", "desired", "task", "count", "of", "an", "ecs", "service", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "ec", "2", ":", "spot", "-", "fleet", "-", "request", ":", "target", "capacity", "<", "/", "code", ">", "-", "the", "target", "capacity", "of", "a", "spot", "fleet", "request", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "elasticmapreduce", ":", "instancegroup", ":", "instance", "count", "<", "/", "code", ">", "-", "the", "instance", "count", "of", "an", "emr", "instance", "group", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "appstream", ":", "fleet", ":", "desired", "capacity", "<", "/", "code", ">", "-", "the", "desired", "capacity", "of", "an", "app", "stream", "2", "0", "fleet", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "dynamodb", ":", "table", ":", "read", "capacity", "units", "<", "/", "code", ">", "-", "the", "provisioned", "read", "capacity", "for", "a", "dynamo", "d", "b", "table", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "dynamodb", ":", "table", ":", "write", "capacity", "units", "<", "/", "code", ">", "-", "the", "provisioned", "write", "capacity", "for", "a", "dynamo", "d", "b", "table", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "dynamodb", ":", "index", ":", "read", "capacity", "units", "<", "/", "code", ">", "-", "the", "provisioned", "read", "capacity", "for", "a", "dynamo", "d", "b", "global", "secondary", "index", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "dynamodb", ":", "index", ":", "write", "capacity", "units", "<", "/", "code", ">", "-", "the", "provisioned", "write", "capacity", "for", "a", "dynamo", "d", "b", "global", "secondary", "index", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "rds", ":", "cluster", ":", "read", "replica", "count", "<", "/", "code", ">", "-", "the", "count", "of", "aurora", "replicas", "in", "an", "aurora", "db", "cluster", "available", "for", "aurora", "my", "s", "q", "l", "-", "compatible", "edition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "sagemaker", ":", "variant", ":", "desired", "instance", "count", "<", "/", "code", ">", "-", "the", "number", "of", "ec2", "instances", "for", "an", "amazon", "sage", "maker", "model", "endpoint", "variant", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "custom", "-", "resource", ":", "resource", "type", ":", "property", "<", "/", "code", ">", "-", "the", "scalable", "dimension", "for", "a", "custom", "resource", "provided", "by", "your", "own", "application", "or", "service", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "scalable", "dimension", "(", "scalable", "dimension", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "scalable", "dimension", "associated", "with", "the", "scalable", "target", "this", "string", "consists", "of", "the", "service", "namespace", "resource", "type", "and", "scaling", "property", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "ecs", ":", "service", ":", "desired", "count", "<", "/", "code", ">", "-", "the", "desired", "task", "count", "of", "an", "ecs", "service", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "ec", "2", ":", "spot", "-", "fleet", "-", "request", ":", "target", "capacity", "<", "/", "code", ">", "-", "the", "target", "capacity", "of", "a", "spot", "fleet", "request", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "elasticmapreduce", ":", "instancegroup", ":", "instance", "count", "<", "/", "code", ">", "-", "the", "instance", "count", "of", "an", "emr", "instance", "group", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "appstream", ":", "fleet", ":", "desired", "capacity", "<", "/", "code", ">", "-", "the", "desired", "capacity", "of", "an", "app", "stream", "2", "0", "fleet", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "dynamodb", ":", "table", ":", "read", "capacity", "units", "<", "/", "code", ">", "-", "the", "provisioned", "read", "capacity", "for", "a", "dynamo", "d", "b", "table", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "dynamodb", ":", "table", ":", "write", "capacity", "units", "<", "/", "code", ">", "-", "the", "provisioned", "write", "capacity", "for", "a", "dynamo", "d", "b", "table", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "dynamodb", ":", "index", ":", "read", "capacity", "units", "<", "/", "code", ">", "-", "the", "provisioned", "read", "capacity", "for", "a", "dynamo", "d", "b", "global", "secondary", "index", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "dynamodb", ":", "index", ":", "write", "capacity", "units", "<", "/", "code", ">", "-", "the", "provisioned", "write", "capacity", "for", "a", "dynamo", "d", "b", "global", "secondary", "index", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "rds", ":", "cluster", ":", "read", "replica", "count", "<", "/", "code", ">", "-", "the", "count", "of", "aurora", "replicas", "in", "an", "aurora", "db", "cluster", "available", "for", "aurora", "my", "s", "q", "l", "-", "compatible", "edition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "sagemaker", ":", "variant", ":", "desired", "instance", "count", "<", "/", "code", ">", "-", "the", "number", "of", "ec2", "instances", "for", "an", "amazon", "sage", "maker", "model", "endpoint", "variant", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "custom", "-", "resource", ":", "resource", "type", ":", "property", "<", "/", "code", ">", "-", "the", "scalable", "dimension", "for", "a", "custom", "resource", "provided", "by", "your", "own", "application", "or", "service", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "this", "scalable", "dimension", "=", "scalable", "dimension", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "notify", "the", "system", "that", "current", "data", "call", "list", "changed", "data", "service", "must", "invoke", "this", "method", "whenever", "there", "is", "any", "data", "call", "status", "changed" ]
[ "synchronized", "(", "m", "data", "call", "list", "changed", "callbacks", ")", "{", "for", "(", "i", "data", "service", "callback", "callback", ":", "m", "data", "call", "list", "changed", "callbacks", ")", "{", "m", "handler", "obtain", "message", "(", "data", "service", "indication", "data", "call", "list", "changed", ",", "m", "slot", "id", ",", "0", ",", "new", "data", "call", "list", "changed", "indication", "(", "data", "call", "list", ",", "callback", ")", ")", "send", "to", "target", "(", ")", ";", "}", "}" ]
[ "called", "when", "the", "instance", "of", "data", "service", "is", "destroyed", "(", "e", "g", "got", "unbind", "or", "binder", "died", ")" ]
[ "m", "data", "call", "list", "changed", "callbacks", "clear", "(", ")", ";" ]
[ "create", "the", "instance", "of", "{", "@", "link", "data", "service", "provider", "}", "data", "service", "provider", "must", "override", "this", "method", "to", "facilitate", "the", "creation", "of", "{", "@", "link", "data", "service", "provider", "}", "instances", "the", "system", "will", "call", "this", "method", "after", "binding", "the", "data", "service", "for", "each", "active", "sim", "slot", "id" ]
[ "public", "abstract", "data", "service", "provider", "create", "data", "service", "provider", "(", "int", "slot", "id", ")", ";" ]
[ "notifies", "that", "from", "view", "is", "ready", "even", "if", "there", "is", "no", "such", "view", "can", "be", "used", "in", "cases", "when", "we", "know", "that", "there", "will", "be", "no", "from", "view", "but", "animation", "should", "be", "started", "anyway" ]
[ "set", "from", "internal", "(", "id", ",", "null", ",", "null", ")", ";" ]
[ "called", "when", "both", "from", "and", "to", "views", "are", "ready", "for", "given", "index", "at", "this", "point", "transition", "is", "ready", "to", "be", "started", "<", "p", ">", "note", "that", "this", "method", "will", "be", "called", "each", "time", "from", "or", "to", "views", "are", "changed" ]
[ "if", "(", "ready", "listener", "!", "=", "null", ")", "{", "ready", "listener", "on", "views", "ready", "(", "id", ")", ";", "}" ]
[ "the", "i", "d", "3v", "2", "frame", "identifier" ]
[ "return", "i", "d", "3v", "2", "4", "frames", "frame", "id", "bpm", ";" ]
[ "indents", "the", "line", "range", "specified", "by", "<", "code", ">", "lines", "<", "/", "code", ">", "in", "<", "code", ">", "document", "<", "/", "code", ">", "the", "passed", "java", "project", "may", "be", "<", "code", ">", "null", "<", "/", "code", ">", "it", "is", "used", "solely", "to", "obtain", "formatter", "preferences" ]
[ "int", "number", "of", "lines", "=", "lines", "get", "number", "of", "lines", "(", ")", ";", "if", "(", "number", "of", "lines", "<", "1", ")", "return", "new", "indent", "result", "(", "null", ")", ";", "result", "=", "reuse", "or", "create", "token", "(", "result", ",", "number", "of", "lines", ")", ";", "java", "heuristic", "scanner", "scanner", "=", "new", "java", "heuristic", "scanner", "(", "document", ")", ";", "java", "indenter", "indenter", "=", "new", "java", "indenter", "(", "document", ",", "scanner", ",", "project", ")", ";", "boolean", "changed", "=", "false", ";", "int", "tab", "size", "=", "code", "formatter", "util", "get", "tab", "width", "(", "project", ")", ";", "for", "(", "int", "line", "=", "lines", "get", "start", "line", "(", ")", ",", "last", "=", "line", "+", "number", "of", "lines", ",", "i", "=", "0", ";", "line", "<", "last", ";", "line", "+", "+", ")", "{", "changed", "|", "=", "indent", "line", "(", "document", ",", "line", ",", "indenter", ",", "scanner", ",", "result", "comment", "lines", "at", "column", "zero", ",", "i", "+", "+", ",", "tab", "size", ")", ";", "}", "result", "has", "changed", "=", "changed", ";", "return", "result", ";" ]
[ "computes", "the", "difference", "of", "two", "indentations", "and", "returns", "the", "difference", "in", "length", "of", "current", "and", "correct", "if", "the", "return", "value", "is", "positive", "<", "code", ">", "addition", "<", "/", "code", ">", "is", "initialized", "with", "a", "substring", "of", "that", "length", "of", "<", "code", ">", "correct", "<", "/", "code", ">" ]
[ "int", "c", "1", "=", "compute", "visual", "length", "(", "correct", ",", "tab", "size", ")", ";", "int", "c", "2", "=", "compute", "visual", "length", "(", "current", ",", "tab", "size", ")", ";", "int", "diff", "=", "c", "1", "-", "c", "2", ";", "if", "(", "diff", "<", "=", "0", ")", "return", "diff", ";", "difference", "set", "length", "(", "0", ")", ";", "int", "len", "=", "0", ",", "i", "=", "0", ";", "while", "(", "len", "<", "diff", ")", "{", "char", "c", "=", "correct", "char", "at", "(", "i", "+", "+", ")", ";", "difference", "append", "(", "c", ")", ";", "len", "+", "=", "compute", "visual", "length", "(", "c", ",", "tab", "size", ")", ";", "}", "return", "diff", ";" ]
[ "<", "p", ">", "api", "id", "of", "the", "associated", "api", "stage", "in", "a", "usage", "plan", "<", "/", "p", ">" ]
[ "set", "api", "id", "(", "api", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "api", "stage", "name", "of", "the", "associated", "api", "stage", "in", "a", "usage", "plan", "<", "/", "p", ">" ]
[ "set", "stage", "(", "stage", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "map", "containing", "method", "level", "throttling", "information", "for", "api", "stage", "in", "a", "usage", "plan", "<", "/", "p", ">" ]
[ "return", "throttle", ";" ]
[ "<", "p", ">", "map", "containing", "method", "level", "throttling", "information", "for", "api", "stage", "in", "a", "usage", "plan", "<", "/", "p", ">" ]
[ "this", "throttle", "=", "throttle", ";" ]
[ "<", "p", ">", "map", "containing", "method", "level", "throttling", "information", "for", "api", "stage", "in", "a", "usage", "plan", "<", "/", "p", ">" ]
[ "set", "throttle", "(", "throttle", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "throttle" ]
[ "this", "throttle", "=", "null", ";", "return", "this", ";" ]
[ "deemphasize", "transient", "forces" ]
[ "float", "m", "alpha", "=", "0", "8f", ";", "return", "gravity", "*", "m", "alpha", "+", "current", "*", "(", "1", "-", "m", "alpha", ")", ";" ]
[ "{" ]
[ "return", "(", "field", ")", "get", "0", "(", "n", ")", ";" ]
[ "sets", "the", "field", "at", "the", "given", "index" ]
[ "set", "0", "(", "n", ",", "field", ")", ";" ]
[ "returns", "all", "paths" ]
[ "bytes", "ref", "builder", "scratch", "bytes", "ref", "builder", "=", "new", "bytes", "ref", "builder", "(", ")", ";", "set", "<", "string", ">", "paths", "=", "new", "hash", "set", "<", ">", "(", ")", ";", "for", "(", "ints", "ref", "ir", ":", "automaton", "test", "util", "get", "finite", "strings", "recursive", "(", "a", ",", "-", "1", ")", ")", "{", "paths", "add", "(", "util", "to", "bytes", "ref", "(", "ir", ",", "scratch", "bytes", "ref", "builder", ")", "utf", "8", "to", "string", "(", ")", "replace", "(", "(", "char", ")", "token", "stream", "to", "automaton", "pos", "sep", ",", "'", "'", ")", ")", ";", "}", "return", "paths", ";" ]
[ "tests", "the", "{" ]
[ "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "assert", "equals", "(", "create", "inode", "file", "id", "(", "1", ")", ",", "inode", "1", "get", "id", "(", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "inode", "file", "inode", "file", "=", "create", "inode", "file", "(", "1", ")", ";", "inode", "file", "set", "length", "(", "length", ")", ";", "assert", "equals", "(", "length", ",", "inode", "file", "get", "length", "(", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "assert", "equals", "(", "constants", "kb", ",", "inode", "1", "get", "block", "size", "bytes", "(", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "assert", "false", "(", "inode", "1", "is", "completed", "(", ")", ")", ";", "inode", "1", "set", "completed", "(", "true", ")", ";", "assert", "true", "(", "inode", "1", "is", "completed", "(", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "assert", "equals", "(", "test", "owner", ",", "inode", "1", "get", "owner", "(", ")", ")", ";", "assert", "equals", "(", "test", "group", ",", "inode", "1", "get", "group", "(", ")", ")", ";", "assert", "equals", "(", "mode", "defaults", "(", ")", "apply", "file", "u", "mask", "(", ")", "to", "short", "(", ")", ",", "inode", "1", "get", "mode", "(", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "assert", "false", "(", "inode", "1", "is", "read", "locked", "(", ")", ")", ";", "assert", "false", "(", "inode", "1", "is", "write", "locked", "(", ")", ")", ";", "inode", "1", "lock", "read", "(", ")", ";", "assert", "true", "(", "inode", "1", "is", "read", "locked", "(", ")", ")", ";", "assert", "false", "(", "inode", "1", "is", "write", "locked", "(", ")", ")", ";", "inode", "1", "unlock", "read", "(", ")", ";", "assert", "false", "(", "inode", "1", "is", "read", "locked", "(", ")", ")", ";", "assert", "false", "(", "inode", "1", "is", "write", "locked", "(", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "inode", "directory", "dir", "1", "=", "create", "inode", "directory", "(", ")", ";", "inode", "1", "set", "parent", "id", "(", "dir", "1", "get", "id", "(", ")", ")", ";", "inode", "1", "lock", "read", "and", "check", "parent", "(", "dir", "1", ")", ";", "assert", "true", "(", "inode", "1", "is", "read", "locked", "(", ")", ")", ";", "inode", "1", "unlock", "read", "(", ")", ";" ]
[ "tests", "the", "{" ]
[ "m", "expected", "exception", "expect", "(", "invalid", "path", "exception", "class", ")", ";", "m", "expected", "exception", "expect", "message", "(", "exception", "message", "path", "invalid", "concurrent", "rename", "get", "message", "(", ")", ")", ";", "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "inode", "directory", "dir", "1", "=", "create", "inode", "directory", "(", ")", ";", "inode", "1", "set", "parent", "id", "(", "dir", "1", "get", "id", "(", ")", "-", "1", ")", ";", "inode", "1", "lock", "read", "and", "check", "parent", "(", "dir", "1", ")", ";" ]
[ "tests", "the", "{" ]
[ "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "inode", "1", "lock", "write", "(", ")", ";", "assert", "false", "(", "inode", "1", "is", "read", "locked", "(", ")", ")", ";", "assert", "true", "(", "inode", "1", "is", "write", "locked", "(", ")", ")", ";", "inode", "1", "unlock", "write", "(", ")", ";", "assert", "false", "(", "inode", "1", "is", "read", "locked", "(", ")", ")", ";", "assert", "false", "(", "inode", "1", "is", "write", "locked", "(", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "inode", "directory", "dir", "1", "=", "create", "inode", "directory", "(", ")", ";", "inode", "1", "set", "parent", "id", "(", "dir", "1", "get", "id", "(", ")", ")", ";", "inode", "1", "lock", "write", "and", "check", "parent", "(", "dir", "1", ")", ";", "assert", "true", "(", "inode", "1", "is", "write", "locked", "(", ")", ")", ";", "inode", "1", "unlock", "write", "(", ")", ";" ]
[ "tests", "the", "{" ]
[ "m", "expected", "exception", "expect", "(", "invalid", "path", "exception", "class", ")", ";", "m", "expected", "exception", "expect", "message", "(", "exception", "message", "path", "invalid", "concurrent", "rename", "get", "message", "(", ")", ")", ";", "inode", "file", "inode", "1", "=", "create", "inode", "file", "(", "1", ")", ";", "inode", "directory", "dir", "1", "=", "create", "inode", "directory", "(", ")", ";", "inode", "1", "set", "parent", "id", "(", "dir", "1", "get", "id", "(", ")", "-", "1", ")", ";", "inode", "1", "lock", "write", "and", "check", "parent", "(", "dir", "1", ")", ";" ]
[ "test", "existence", "check", "when", "the", "path", "exists", "both", "locally", "and", "remotely" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ")", ",", "null", ")", ";", "check", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "dir", ")", ";" ]
[ "test", "existence", "check", "when", "the", "path", "doesn", "t", "exist", "remotely" ]
[ "assert", "!", "igfs", "exists", "(", "dir", ")", ";" ]
[ "test", "list", "files", "routine" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ",", "subsubdir", ")", ",", "paths", "(", "file", ")", ")", ";", "collection", "<", "igfs", "file", ">", "paths", "=", "igfs", "list", "files", "(", "subdir", ")", ";", "assert", "paths", "!", "=", "null", ";", "assert", "paths", "size", "(", ")", "=", "=", "2", ";", "iterator", "<", "igfs", "file", ">", "iter", "=", "paths", "iterator", "(", ")", ";", "igfs", "file", "path", "1", "=", "iter", "next", "(", ")", ";", "igfs", "file", "path", "2", "=", "iter", "next", "(", ")", ";", "assert", "(", "subsubdir", "equals", "(", "path", "1", "path", "(", ")", ")", "&", "&", "file", "equals", "(", "path", "2", "path", "(", ")", ")", ")", "|", "|", "(", "file", "equals", "(", "path", "1", "path", "(", ")", ")", "&", "&", "subsubdir", "equals", "(", "path", "2", "path", "(", ")", ")", ")", ";" ]
[ "test", "info", "routine", "when", "the", "path", "exists", "both", "locally", "and", "remotely" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ")", ",", "null", ")", ";", "igfs", "file", "info", "=", "igfs", "info", "(", "dir", ")", ";", "assert", "info", "!", "=", "null", ";", "assert", "equals", "(", "dir", ",", "info", "path", "(", ")", ")", ";" ]
[ "test", "rename", "in", "case", "both", "local", "and", "remote", "file", "systems", "have", "the", "same", "folder", "structure", "and", "the", "path", "being", "renamed", "is", "a", "file" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ")", ",", "paths", "(", "file", ")", ")", ";", "igfs", "rename", "(", "file", ",", "file2", ")", ";", "check", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "file2", ")", ";", "check", "not", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "file", ")", ";" ]
[ "test", "rename", "in", "case", "both", "local", "and", "remote", "file", "systems", "have", "the", "same", "folder", "structure", "and", "the", "path", "being", "renamed", "is", "a", "directory" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ")", ",", "null", ")", ";", "igfs", "rename", "(", "subdir", ",", "subdir2", ")", ";", "check", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "subdir2", ")", ";", "check", "not", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "subdir", ")", ";" ]
[ "test", "move", "in", "case", "both", "local", "and", "remote", "file", "systems", "have", "the", "same", "folder", "structure", "and", "the", "path", "being", "renamed", "is", "a", "file" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ",", "dir", "new", ",", "subdir", "new", ")", ",", "paths", "(", "file", ")", ")", ";", "igfs", "rename", "(", "file", ",", "subdir", "new", ")", ";", "check", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "new", "igfs", "path", "(", "subdir", "new", ",", "file", "name", "(", ")", ")", ")", ";", "check", "not", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "file", ")", ";" ]
[ "test", "move", "and", "rename", "in", "case", "both", "local", "and", "remote", "file", "systems", "have", "the", "same", "folder", "structure", "and", "the", "path", "being", "renamed", "is", "a", "file" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ",", "dir", "new", ",", "subdir", "new", ")", ",", "paths", "(", "file", ")", ")", ";", "igfs", "rename", "(", "file", ",", "file", "new", ")", ";", "check", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "file", "new", ")", ";", "check", "not", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "file", ")", ";" ]
[ "test", "move", "in", "case", "both", "local", "and", "remote", "file", "systems", "have", "the", "same", "folder", "structure", "and", "the", "path", "being", "renamed", "is", "a", "directory" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ",", "subsubdir", ",", "dir", "new", ",", "subdir", "new", ")", ",", "null", ")", ";", "igfs", "rename", "(", "subsubdir", ",", "subdir", "new", ")", ";", "check", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "new", "igfs", "path", "(", "subdir", "new", ",", "subsubdir", "name", "(", ")", ")", ")", ";", "check", "not", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "subsubdir", ")", ";" ]
[ "test", "move", "and", "rename", "in", "case", "both", "local", "and", "remote", "file", "systems", "have", "the", "same", "folder", "structure", "and", "the", "path", "being", "renamed", "is", "a", "directory" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ",", "subsubdir", ",", "dir", "new", ",", "subdir", "new", ")", ",", "null", ")", ";", "igfs", "rename", "(", "subsubdir", ",", "subsubdir", "new", ")", ";", "check", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "subsubdir", "new", ")", ";", "check", "not", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "subsubdir", ")", ";" ]
[ "ensure", "that", "rename", "doesn", "t", "occur", "in", "case", "source", "doesn", "t", "exist", "remotely" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "dir", "new", ")", ",", "null", ")", ";", "grid", "test", "utils", "assert", "throws", "inherited", "(", "log", ",", "new", "callable", "<", "object", ">", "(", ")", "{", "@", "override", "public", "object", "call", "(", ")", "throws", "exception", "{", "igfs", "rename", "(", "subdir", ",", "subdir", "new", ")", ";", "return", "null", ";", "}", "}", ",", "igfs", "exception", "class", ",", "null", ")", ";", "check", "not", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "subdir", ",", "subdir", "new", ")", ";" ]
[ "test", "delete", "in", "case", "both", "local", "and", "remote", "file", "systems", "have", "the", "same", "folder", "structure" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ",", "subsubdir", ")", ",", "paths", "(", "file", ")", ")", ";", "igfs", "delete", "(", "subdir", ",", "true", ")", ";", "check", "not", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "subdir", ",", "subsubdir", ",", "file", ")", ";" ]
[ "test", "delete", "when", "the", "path", "parent", "is", "the", "root" ]
[ "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ",", "subsubdir", ")", ",", "paths", "(", "file", ")", ")", ";", "igfs", "delete", "(", "dir", ",", "true", ")", ";", "check", "not", "exist", "(", "igfs", ",", "igfs", "secondary", ",", "dir", ",", "subdir", ",", "subsubdir", ",", "file", ")", ";" ]
[ "check", "root", "property", "update" ]
[ "igfs", "update", "(", "igfs", "path", "root", ",", "collections", "singleton", "map", "(", "prop", ",", "set", "val", ")", ")", ";", "igfs", "clear", "(", ")", ";", "igfs", "file", "file", "=", "igfs", "info", "(", "igfs", "path", "root", ")", ";", "assert", "file", "!", "=", "null", ";", "map", "<", "string", ",", "string", ">", "props", "=", "file", "properties", "(", ")", ";", "assert", "equals", "(", "exp", "get", "val", ",", "props", "get", "(", "prop", ")", ")", ";" ]
[ "test", "subsequent", "create", "commands", "on", "the", "same", "file", "without", "closing", "the", "output", "streams" ]
[ "if", "(", "mode", "!", "=", "primary", ")", "return", ";", "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ")", ",", "null", ")", ";", "grid", "test", "utils", "assert", "throws", "(", "log", "(", ")", ",", "new", "callable", "<", "object", ">", "(", ")", "{", "@", "override", "public", "object", "call", "(", ")", "throws", "exception", "{", "igfs", "output", "stream", "os", "1", "=", "null", ";", "igfs", "output", "stream", "os", "2", "=", "null", ";", "try", "{", "os", "1", "=", "igfs", "create", "(", "file", ",", "true", ")", ";", "os", "2", "=", "igfs", "create", "(", "file", ",", "true", ")", ";", "}", "finally", "{", "u", "close", "quiet", "(", "os", "1", ")", ";", "u", "close", "quiet", "(", "os", "2", ")", ";", "}", "return", "null", ";", "}", "}", ",", "igfs", "exception", "class", ",", "null", ")", ";" ]
[ "test", "rename", "on", "the", "file", "when", "it", "was", "opened", "for", "write", "(", "create", ")", "and", "is", "not", "closed", "yet" ]
[ "if", "(", "dual", ")", "return", ";", "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ")", ",", "null", ")", ";", "igfs", "output", "stream", "os", "=", "null", ";", "try", "{", "os", "=", "igfs", "create", "(", "file", ",", "true", ")", ";", "igfs", "rename", "(", "file", ",", "file2", ")", ";", "os", "close", "(", ")", ";", "}", "finally", "{", "u", "close", "quiet", "(", "os", ")", ";", "}" ]
[ "test", "rename", "on", "the", "file", "parent", "when", "it", "was", "opened", "for", "write", "(", "create", ")", "and", "is", "not", "closed", "yet" ]
[ "if", "(", "dual", ")", "return", ";", "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ")", ",", "null", ")", ";", "igfs", "output", "stream", "os", "=", "null", ";", "try", "{", "os", "=", "igfs", "create", "(", "file", ",", "true", ")", ";", "igfs", "rename", "(", "subdir", ",", "subdir2", ")", ";", "os", "close", "(", ")", ";", "}", "finally", "{", "u", "close", "quiet", "(", "os", ")", ";", "}" ]
[ "test", "subsequent", "append", "commands", "on", "the", "same", "file", "without", "closing", "the", "output", "streams" ]
[ "if", "(", "mode", "!", "=", "primary", ")", "return", ";", "if", "(", "append", "supported", "(", ")", ")", "{", "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ")", ",", "null", ")", ";", "create", "file", "(", "igfs", ",", "file", ",", "false", ")", ";", "grid", "test", "utils", "assert", "throws", "inherited", "(", "log", "(", ")", ",", "new", "callable", "<", "object", ">", "(", ")", "{", "@", "override", "public", "object", "call", "(", ")", "throws", "exception", "{", "igfs", "output", "stream", "os", "1", "=", "null", ";", "igfs", "output", "stream", "os", "2", "=", "null", ";", "try", "{", "os", "1", "=", "igfs", "append", "(", "file", ",", "false", ")", ";", "os", "2", "=", "igfs", "append", "(", "file", ",", "false", ")", ";", "}", "finally", "{", "u", "close", "quiet", "(", "os", "1", ")", ";", "u", "close", "quiet", "(", "os", "2", ")", ";", "}", "return", "null", ";", "}", "}", ",", "ignite", "exception", "class", ",", "null", ")", ";", "}" ]
[ "test", "rename", "on", "the", "file", "when", "it", "was", "opened", "for", "write", "(", "append", ")", "and", "is", "not", "closed", "yet" ]
[ "if", "(", "dual", ")", "return", ";", "if", "(", "append", "supported", "(", ")", ")", "{", "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ")", ",", "null", ")", ";", "create", "file", "(", "igfs", ",", "file", ",", "false", ")", ";", "igfs", "output", "stream", "os", "=", "null", ";", "try", "{", "os", "=", "igfs", "append", "(", "file", ",", "false", ")", ";", "igfs", "rename", "(", "file", ",", "file2", ")", ";", "os", "close", "(", ")", ";", "}", "finally", "{", "u", "close", "quiet", "(", "os", ")", ";", "}", "}" ]
[ "test", "rename", "on", "the", "file", "parent", "when", "it", "was", "opened", "for", "write", "(", "append", ")", "and", "is", "not", "closed", "yet" ]
[ "if", "(", "dual", ")", "return", ";", "if", "(", "append", "supported", "(", ")", ")", "{", "create", "(", "igfs", ",", "paths", "(", "dir", ",", "subdir", ")", ",", "null", ")", ";", "create", "file", "(", "igfs", ",", "file", ",", "false", ")", ";", "igfs", "output", "stream", "os", "=", "null", ";", "try", "{", "os", "=", "igfs", "append", "(", "file", ",", "false", ")", ";", "igfs", "rename", "(", "subdir", ",", "subdir2", ")", ";", "os", "close", "(", ")", ";", "}", "finally", "{", "u", "close", "quiet", "(", "os", ")", ";", "}", "}" ]
[ "ensure", "that", "deadlocks", "do", "not", "occur", "during", "concurrent", "rename", "operations" ]
[ "check", "deadlocks", "repeat", "(", "5", ",", "2", ",", "2", ",", "2", ",", "rename", "cnt", ",", "0", ",", "0", ",", "0", ",", "0", ")", ";" ]
[ "ensure", "that", "deadlocks", "do", "not", "occur", "during", "concurrent", "delete", "operations" ]
[ "check", "deadlocks", "repeat", "(", "5", ",", "2", ",", "2", ",", "2", ",", "0", ",", "delete", "cnt", ",", "0", ",", "0", ",", "0", ")", ";" ]
[ "ensure", "that", "deadlocks", "do", "not", "occur", "during", "concurrent", "update", "operations" ]
[ "check", "deadlocks", "repeat", "(", "5", ",", "2", ",", "2", ",", "2", ",", "0", ",", "0", ",", "update", "cnt", ",", "0", ",", "0", ")", ";" ]
[ "ensure", "that", "deadlocks", "do", "not", "occur", "during", "concurrent", "directory", "creation", "operations" ]
[ "check", "deadlocks", "repeat", "(", "5", ",", "2", ",", "2", ",", "2", ",", "0", ",", "0", ",", "0", ",", "mkdirs", "cnt", ",", "0", ")", ";" ]
[ "ensure", "that", "deadlocks", "do", "not", "occur", "during", "concurrent", "delete", "&", "rename", "operations" ]
[ "check", "deadlocks", "repeat", "(", "5", ",", "2", ",", "2", ",", "2", ",", "rename", "cnt", ",", "delete", "cnt", ",", "0", ",", "0", ",", "0", ")", ";" ]
[ "ensure", "that", "deadlocks", "do", "not", "occur", "during", "concurrent", "delete", "&", "rename", "operations" ]
[ "check", "deadlocks", "repeat", "(", "5", ",", "2", ",", "2", ",", "2", ",", "rename", "cnt", ",", "delete", "cnt", ",", "0", ",", "mkdirs", "cnt", ",", "0", ")", ";" ]
[ "ensure", "that", "deadlocks", "do", "not", "occur", "during", "concurrent", "delete", "&", "rename", "operations" ]
[ "check", "deadlocks", "repeat", "(", "5", ",", "2", ",", "2", ",", "2", ",", "0", ",", "delete", "cnt", ",", "0", ",", "mkdirs", "cnt", ",", "0", ")", ";" ]
[ "ensure", "that", "deadlocks", "do", "not", "occur", "during", "concurrent", "file", "creation", "operations" ]
[ "check", "deadlocks", "repeat", "(", "5", ",", "2", ",", "2", ",", "2", ",", "0", ",", "0", ",", "0", ",", "0", ",", "create", "cnt", ")", ";" ]