POOL(3) 1 POOL(3)The Pool classINTRODUCTION
A Pool is a container for, and controller of, an adjustable number of Workers.
Pooling provides a higher level abstraction of the Worker functionality, including the management of references in the way required by
pthreads.
CLASS SYNOPSIS
Pool
Pool
Properties
o protected$size
o protected$class
o protected$workers
o protected$work
o protected$ctor
o protected$last
Methods
o public void Pool::collect (Callable $collector)
o public Pool Pool::__construct (integer $size, string $class, [array $ctor])
o public void Pool::resize (integer $size)
o public void Pool::shutdown (void )
o public integer Pool::submit (Threaded $task)
o public integer Pool::submitTo (integer $worker, Threaded $task)
PROPERTIES
o $size
-maximum number of Workers this Pool can use
o $class
-the class of the Worker
o $ctor
-the arguments for constructor of new Workers
o $workers
-references to Workers
o $work
-references to Threaded objects submitted to the Pool
o $last
-offset in workers of the last Worker used
PHP Documentation Group POOL(3)
Check Out this Related Man Page
SOLRUPDATERESPONSE(3) 1 SOLRUPDATERESPONSE(3)The SolrUpdateResponse classINTRODUCTION
Represents a response to an update request.
CLASS SYNOPSIS
SolrUpdateResponse
final
SolrUpdateResponseextends
SolrResponse
Constants
o const integer$SolrUpdateResponse::PARSE_SOLR_OBJ0
o const integer$SolrUpdateResponse::PARSE_SOLR_DOC1
Inherited properties
o const integer$SolrResponse::PARSE_SOLR_OBJ0
o const integer$SolrResponse::PARSE_SOLR_DOC1
o protected integer$http_status
o protected integer$parser_mode
o protected bool$success
o protected string$http_status_message
o protected string$http_request_url
o protected string$http_raw_request_headers
o protected string$http_raw_request
o protected string$http_raw_response_headers
o protected string$http_raw_response
o protected string$http_digested_response
Methods
o public SolrUpdateResponse::__construct (void )
o public void SolrUpdateResponse::__destruct (void )
Inherited methods
o public string SolrResponse::getDigestedResponse (void )
o public int SolrResponse::getHttpStatus (void )
o public string SolrResponse::getHttpStatusMessage (void )
o public string SolrResponse::getRawRequest (void )
o public string SolrResponse::getRawRequestHeaders (void )
o public string SolrResponse::getRawResponse (void )
o public string SolrResponse::getRawResponseHeaders (void )
o public string SolrResponse::getRequestUrl (void )
o public SolrObject SolrResponse::getResponse (void )
o public bool SolrResponse::setParseMode ([int $parser_mode])
o public bool SolrResponse::success (void )
PREDEFINED CONSTANTS SOLRUPDATERESPONSE CLASS CONSTANTS
o SolrUpdateResponse::PARSE_SOLR_OBJ -Documents should be parsed as SolrObject instances
o SolrUpdateResponse::PARSE_SOLR_DOC -Documents should be parsed as SolrDocument instances.
PHP Documentation Group SOLRUPDATERESPONSE(3)
hi,
I'm in Solaris 2.8 env. When i'm trying to add a ftp user account ,
encountered "no space in disk" .. couldn't create any user. Then check the fs disk space with "df - k " and /var/adm/syslog .. got the below message.
Jun 9 03:10:53 mail sendmail: NOQUEUE: low on space
(have 0,... (10 Replies)
Hi all
I need help finding a process that is continuing to create files in the above area. There are three sub folder titled addr q.local and msg . I have already found a process called mmdf running and have used the kill command to stop this from running. I have also looked for sendmail or... (12 Replies)
Hi,
I am trying to do this
For i in *.txt
do
sed 'some pattern checking' $i
done
>file
These text files are spool files.And when i find error in these spool files I want to append the text file contents to error.log file.
Or is there any option that I do this sed for only files that... (12 Replies)
Hi,
I want to spool the output from a .sql file to a .txt file through shell script.
the contents of .sql are:
spool /arboru02/scripts/customer_profile_def.txt
select profile_id ||','|| account_no
from customer_profile_def;
spool off
exit
and shell scrip is like:
#!/bin/sh... (9 Replies)
My goal is to protect the /etc/passwd from unauthorized viewing. I wish ti change the permissions of the file to :
-r--r----- 1 root bin
so only root or accounts of the "bin" group could query this sensitive file. All our other processes have been ajusted to not need any info from... (16 Replies)
Hi! Everyone
I am new to the shell scripting basically.I have been asked to create a shell script that connect to a oracle database to read data from a particular schema then spool it into a csv file then email to customer.
Can anybody let me know how to go about that.
I have create... (14 Replies)
Hello,
I have a bunch of cron jobs in the crontab. For some reason mail from the cron jobs started going to /var/spool/mqueue instead of being sent.
Does anyone know why mail from cron jobs would go to the queue instead of being sent? (9 Replies)
Hi, my root pool is as follows. How can I create a metadb if I want to create SVM volumes?
zpool status
pool: rpool1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool1 ONLINE 0 0 0
c4t1d0s0 ... (10 Replies)
Hi!
I would also like to know if I need first to create a pool before I can mirror my disks inside that pool.
My first disk is c7t0d0s0 and my second disk is c7t2d0s0 as seen in the figure below.
I would create a pool named rpool1 for this 2 disks.
# zpool create rpool1 c7t0d0p0 c7t2d0p0 ... (18 Replies)
Hi,
We have a Sun M5000. I am now trying to boot the second system domain by using the boot disk (a mirrored boot disk actually) of the first domain (if succeed then no OS installation is needed for the second domain). I got the following errors:
SPARC Enterprise M5000 Server, using Domain... (21 Replies)
Hi everyone and nice to meet you :)
I'm having some issues with a script I'm writing.
It's probably most chaotic, I'm no ksh guru, but the idea is to extract an ID with that query, spool it into a file, and read that file making the ID a variable. This has to be done for every row extracted by... (10 Replies)
I am not very savvy with Solaris but am responsible for a server running Solaris 10 that has a failed hard drive in a mirrored pool. I ordered a new drive and attempted to install but received the error "device too small" when using zpool replace. The drive is the same Seagate model number as the... (10 Replies)
I added a disk to a zpool using "zpool add diskname"
My intention was mirror a zpool disk that no mirror; that is a zpool with only one disk. I did not issue the right command. Now, the disk has been added successfully but I cannot remove nor detach it as Solaris 11 thinks it has data on it... (14 Replies)
Assuming we have a server with 8 hdd, using raid5. After applying raid5 to the disk, solaris 11 will be install.
In my understanding, 8 hdd will represent 1disk(pls correct me if I'm wrong) and have one pool(rpool).
Using raid5 for 8hdd, could it be possible to have multiple pool? My... (11 Replies)
On an OmniOS server, I removed a single-disk pool I was using for testing.
Now, when I run zpool import it will show it as FAULTED, since that single disk not available anymore.
# zpool import
pool: fido
id: 7452075738474086658
state: FAULTED
status: The pool was last... (11 Replies)