public class Semaphore extends Object implements ISemaphore
Copyright (c) SAP AG 2001-2002
| Constructor and Description |
|---|
Semaphore() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquire()
Block the calling thread until semaphore could be acquired
|
boolean |
acquire(int timeout)
Try to acquire semaphore and block calling thread for a max. amount of time
|
void |
release()
Release the semaphore
|
public void acquire()
acquire in interface ISemaphorepublic boolean acquire(int timeout)
acquire in interface ISemaphoretimeout - Time-out value in secondspublic void release()
release in interface ISemaphore| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice