FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java-sdk/src/main/java/co/stateful/Locks.java at master · sttc/java-sdk · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
sttc
/
java-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
9
Code
Issues
3
Pull requests
4
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
java-sdk
/
src
/
main
/
java
/
co
/
stateful
/
Locks.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (29 loc) · 657 Bytes
Breadcrumbs
java-sdk
/
src
/
main
/
java
/
co
/
stateful
/
Locks.java
Copy path
File metadata and controls
33 lines (29 loc) · 657 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* SPDX-FileCopyrightText: Copyright (c) 2014-2026, stateful.co
* SPDX-License-Identifier: MIT
*/
package
co
.
stateful
;
import
com
.
jcabi
.
aspects
.
Immutable
;
import
java
.
io
.
IOException
;
/**
* Locks.
* @since 0.2
*/
@
Immutable
public
interface
Locks
{
/**
* Does it exist?
* @param name Name of lock
* @return TRUE if the lock exists
* @throws IOException If fails
* @since 0.10
*/
boolean
exists
(
String
name
)
throws
IOException
;
/**
* Get one lock by name.
* @param name Name of lock
* @return Lock
* @throws IOException If fails
*/
Lock
get
(
String
name
)
throws
IOException
;
}
Back
|
FazBrowse Home
|
New Git URL