Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/burningtnt/Terracotta
/ assertOpen
Method
assertOpen
ffi/TerracottaAndroidAPI.java:359–363 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
357
}
358
359
private
void
assertOpen() throws IOException {
360
if
(closed.get()) {
361
throw
new
IOException(
"Stream has already been closed"
);
362
}
363
}
364
365
private
void
cleanup() {
366
if
(closed.compareAndSet(false, true)) {
Callers
2
read
Method · 0.95
available
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected